|
|
@@ -97,9 +97,6 @@ public $components = [
|
|
|
|
|
|
Now create a file in /Config/ called acl.ini like so:
|
|
|
```ini
|
|
|
-[Tools.Countries]
|
|
|
-* = superadmin ; this is a comment
|
|
|
-
|
|
|
[Account]
|
|
|
edit,change_pw = *
|
|
|
|
|
|
@@ -110,6 +107,9 @@ index = *
|
|
|
[Users]
|
|
|
index,search = user
|
|
|
* = moderator,admin
|
|
|
+
|
|
|
+[Data.Countries]
|
|
|
+* = superadmin ; this is a comment
|
|
|
```
|
|
|
|
|
|
The format is normal PHP INI style. I already included all kind of examples. * is a placeholder for "any".
|
|
|
@@ -231,4 +231,4 @@ See the inline class documentation or the test cases for details.
|
|
|
A shell to quickly modify the INI file (and batch-update for new controllers etc) should be ready some time soon.
|
|
|
|
|
|
There might some day also the possibility to use some CRUD backend to manage the ACL (either via database or modifying the INI file).
|
|
|
-If someone wants to help, go for it.
|
|
|
+If someone wants to help, go for it.
|