I will like to change access rights programmatically, how can I do that?

Vote:
 
Today you have to have the administrator role to set access rights in editor mode, our custerm will like to have on exstra tab whit 4 roles when they create a new page, where they can give read access or not: Storeuser yes/no Storemanager yes/no Supplier yes/no Customer yes/no Whit this functionality, the person which create the new site decide who can read the new page. Hope somebody have some code, or idea who can help me to solve this.
#13212
Mar 25, 2008 18:35
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.