Merge pull request #8932 from eeerlend/patch-1

Added missing Permission class to example
This commit is contained in:
Robbie Averill 2019-04-17 12:38:12 +12:00 committed by GitHub
commit 2c207b636a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;