CloudBot icon indicating copy to clipboard operation
CloudBot copied to clipboard

Allow wildcard permission grants

Open Aaron1011 opened this issue 10 years ago • 3 comments

Currently, an exhaustive list of permissions to grant to a user is required.

Sometimes, it's desirable to grant all permissions to a user or group (e.g. admins). Without wildcard permissions, it's necessary to update the permissions list for a group each time a new plugin is added.

This would also allow the creation of permissions heirarchy. For example:

  • botcontrol
    • botcontrol.join
    • botcontrol.leave
    • botcontrol.nick

I could grant a user all botcontrol permissions with botcontrol.*, or grant them an individual permission, such as botcontrol.join.

I can implement this, if it's accepted.

Aaron1011 avatar Jan 18 '15 22:01 Aaron1011

Sounds like a good idea!

Arzte avatar Jan 22 '15 18:01 Arzte

It's been merged onto python3.4. I'm going to update the wiki with usage instructions soon.

Aaron1011 avatar Jan 22 '15 19:01 Aaron1011

Cool, I "may" check it out

Arzte avatar Jan 22 '15 19:01 Arzte