Quote:
Originally Posted by skit
totaltec, Thanks for the advice.
I tried that and it does set the Access level to Administrator but to full work it also needs to set the "Roles" as Administrator. Or, add the Administrator to the Roles.
|
Looks a little tougher to figure this part out. Something like $profile->addPermissions($permissions), but I am not sure what the value of $permissions should be! Or if that method is even accessible to that object.
I'm shooting in the dark here, glad the first bit worked. Perhaps Tony or someone else with knowledge can shed some light. I could certainly work this out for you, but I can't do it off the top of my head without research.