Hello all, I have been using cakephp for about one year now and I am trying to build a new subscription based application using cake built in auth, and acl components.
When the user register he/she is added to a group which represents the aros and each user belongs to a group. What I want to achieve is the following: #Aros: cake acl create aro root guests cake acl create aro guests members //members gets permission from guests cake acl create aro members bronze /bronze members gets its permission from members and so on... cake acl create aro bronze silver cake acl create aro silver gold cake acl create aro gold managers cake acl create aro managers admins #Acos: cake acl create aco / Root cake acl create aco Root Accounts cake acl create aco Root Users cake acl create aco Root Subscriptions cake acl create aco Root Payments cake acl create aco Root Messages cake acl create aco Root Albums cake acl create aco Root Images cake acl create aco Root Videos cake acl create aco Root Menus cake acl create aco Root Groups cake acl create aco Root Comments #Permissions: cake acl grant admins Root * // not sure if this is right I want to grant permissions in the following order: Users in the system can only can view any user profile, but can only edit their own profile (user has one profile) Managers can do almost anything, but not touch admins user accounts Admins on the other hand can do anything on the site. I got most of the system working, but I am stuck with the permissions. Also I am tryin to figure out how to makesure that content added to the site can only be deleted / modified by the user that added it. Example: A user adds a comment, but only the user which the comment belongs to can touch it or other than view it etc.... Same applies to other contents on the site such as images albums etc.. Hope any of you can help or if you need any more information in order to help please ask. Any help is kind appreciated Many thanks in advance --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
