Permission Inheritance
#1
Let's say you are using info.lua to setup your permission system.

When you have the permission for a subcommand, you can only use that subcommand. Fairly reasonable.

Although, I think that if you have permission to the command then you should be granted access to all sub commands.

Why?
It's conveniant so I can do something like plugin.* as a permission to grant all permissions. This is useful for ranks to be assigned full use of plugins without adding each one one by one. This was very tedious for me when I used bukkit when plugins didn't include it. It's also a much easier solution than doing permission checking in each handler function.
Reply
Thanks given by:


Messages In This Thread
Permission Inheritance - by Shadowraix - 05-18-2015, 04:26 AM
RE: Permission Inheritance - by xoft - 05-18-2015, 06:25 AM
RE: Permission Inheritance - by Shadowraix - 05-18-2015, 07:10 AM
RE: Permission Inheritance - by LO1ZB - 05-18-2015, 10:06 AM
RE: Permission Inheritance - by Serial - 05-19-2015, 05:03 AM
RE: Permission Inheritance - by xoft - 05-19-2015, 04:36 PM
RE: Permission Inheritance - by Serial - 05-20-2015, 04:08 AM



Users browsing this thread: 1 Guest(s)