People have asked me recurringly for a demo implementation of ACL.
Now I've finally struggled to myself and fleshed out the yii blog demo with very basic permissions. They should just give you an idea of how to approach (the very basic) things with ACL, for details take a look at "Yii-ACL in a nutshell".
Let me know if you miss something.
ACL Blog Tutorial PDF
ACL Blog Tutorial zipped
Regards
Page 1 of 1
Yii Acl Blog Demo
#4
Posted 02 December 2012 - 10:46 AM
I just noticed a flaw in this demo:
I did not tie the objects created by guests to their sessions. That means that as a guest you have full access to the content of all other guests. I just slipped by, I'll make an update to the demo.
Regards,
I did not tie the objects created by guests to their sessions. That means that as a guest you have full access to the content of all other guests. I just slipped by, I'll make an update to the demo.
Regards,
#5
Posted 17 April 2013 - 06:48 AM
It seems rows are not deleted in aco, aco_collection tables when a corresponding record is deleted, resulting in many useless rows in those tables. Did I miss something ?
Share this topic:
Page 1 of 1

Help













