Our component has a custom usergroup that is created at installation with UsersModelGroup
. We need to add specific permissions to com_content
for that usergroup without effecting whatever permissions may already exist for the component.
I'm familiar with creating a full set of rules for an article or category when creating the content, and for this task, could read the asset record, then use array manipulation to add my rule, but that seems a little brute-force. Is there a better way to do this?
Current com_content ACL Rules:
"core.admin":{"7":1},
"core.manage":{"6":1},
"core.create":{"3":1},
"core.delete":[],
"core.edit":{"4":1},
"core.edit.state":{"5":1},
"core.edit.own":[]
Using "123" as my custom user group, I need this set of rules to be in place:
"core.admin":{"7":1},
"core.manage":{"6":1},
"core.create":{"3":1},
"core.delete":["123":0],
"core.edit":{"4":1,"123":1},
"core.edit.state":{"5":1},
"core.edit.own":[]