mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #8932 from eeerlend/patch-1
Added missing Permission class to example
This commit is contained in:
commit
2c207b636a
@ -23,6 +23,7 @@ The simple usage, Permission::check("PERM_CODE") will detect if the currently lo
|
|||||||
This method should return a map of permission code names with a human readable explanation of its purpose.
|
This method should return a map of permission code names with a human readable explanation of its purpose.
|
||||||
|
|
||||||
```php
|
```php
|
||||||
|
use SilverStripe\Security\Permission;
|
||||||
use SilverStripe\Security\PermissionProvider;
|
use SilverStripe\Security\PermissionProvider;
|
||||||
use SilverStripe\Security\Security;
|
use SilverStripe\Security\Security;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user