Skip to content
This repository has been archived by the owner on Feb 15, 2020. It is now read-only.

Commit

Permalink
- Added missing info
Browse files Browse the repository at this point in the history
  • Loading branch information
akadlec committed Dec 2, 2016
1 parent 6e4e8a6 commit e8356ee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/en/index.md
Expand Up @@ -241,6 +241,10 @@ class YourSuperCoolModule extends Nette\DI\CompilerExtension implements IPub\Per

So as you can see, there is special method **getPermissions** and this method only return an array of all permission which you want to register. Extension will parse this values and register all resources and permissions automatically.

#### Creating roles

Roles have to be registered like in manual registration. Automatic part is not implemented yet.

## Usage

Library provide a PHP trait, which enables pleasant quering Nette ACL system you've just configured. Please note that traits are available from PHP 5.4, for older versions of PHP you must copy/paste trait contents. This trait is effective only in
Expand Down

0 comments on commit e8356ee

Please sign in to comment.