- Make all tests pass Client (V4),CRMV2,CRMV4 - Simplify client submodule path - Move App_url to .env.testing
30 lines
409 B
PHP
30 lines
409 B
PHP
<?php
|
|
|
|
namespace App\Policies\Rules;
|
|
|
|
/**
|
|
* Userlevel Policiy Static Rules
|
|
*
|
|
*
|
|
*/
|
|
abstract class UserStaticRules
|
|
{
|
|
/**
|
|
* Allow everyone.
|
|
*
|
|
* @return boolean
|
|
*/
|
|
public static function everyOne(): bool
|
|
{
|
|
return true;
|
|
}
|
|
/**
|
|
* Allow no one.
|
|
*
|
|
* @return boolean
|
|
*/
|
|
public static function noOne(): bool
|
|
{
|
|
return false;
|
|
}
|
|
}
|