Allow wildcard permission grants
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.
Sounds like a good idea!
It's been merged onto python3.4. I'm going to update the wiki with usage instructions soon.
Cool, I "may" check it out