Khaos :: KhACL |
[eluser]allentseng[/eluser]
[quote author="Neophyte" date="1214502847"]I've finally been able to make some free time for working on my own projects so i'll be looking to fix the issues which have been brought up over the past few posts. Also in the hopes of keeping things a little more organised ive put the code into an SVN repos and setup Trac http://khaos.neophyte.me.uk/ I'll also try my hand at building up some proper documentation instead of having people depend entirely on the function reference. (Much of trac including the wiki is open to all for now and depending on how well the spam filter works should remain so) KhACL - Known Issues[/quote] link is down ??
[eluser]Tominator[/eluser]
Hi guys! If you need (as I needed) to set all permissions to admin group, and you have many ACO's (subjects) and many AXO's (actions), you are in big trouble ![]() Feature: $this->acl->allow('admin', 'website', 'all') will be great, won't it? Ok, I have solution ![]() ![]() So, here we go: 1, Open khacl.php 2, Find line 196 - 208: Code: if ($axo !== null) Replace with: Code: if ($axo !== null) 3. Find line 277 - 303: Code: if ($axo !== null) Replace with: Code: if ($axo !== null) If you make new AXOs or ACOs you have to allow them (you can use 'all' again). Tom. |
Welcome Guest, Not a member yet? Register Sign In |