Danny William Adair writes:
I want to set the roles of a permission and turn acquisition of a permission
(mapping) on and off programmatically. And of course I want to get a
permission by its name. This looks definitely more complex than simply
changing an object's property!
My standard
to set roles/permissions programmatically
- Now I have a headache!
Danny William Adair writes:
I want to set the roles of a permission and turn acquisition
of a permission
(mapping) on and off programmatically. And of course I want to get a
permission by its name. This looks definitely more