From e8356ee281103b8ee9b704ac6c1c64016a4d49b1 Mon Sep 17 00:00:00 2001 From: Adam Kadlec Date: Fri, 2 Dec 2016 11:36:34 +0100 Subject: [PATCH] - Added missing info --- docs/en/index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/en/index.md b/docs/en/index.md index 3a5fd9a..0ce4151 100644 --- a/docs/en/index.md +++ b/docs/en/index.md @@ -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