mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Added missing Permission class to example
Following the example will give the following error; ```[Emergency] Uncaught Error: Class {my namespace}\Permission not found``` Added the missing class
This commit is contained in:
parent
45edc816ba
commit
80b097eb68
@ -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.
|
||||
|
||||
```php
|
||||
use SilverStripe\Security\Permission;
|
||||
use SilverStripe\Security\PermissionProvider;
|
||||
use SilverStripe\Security\Security;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user