[DONE] Groups and permissions refactor
#41
<- worktycho responded to your post.

I got another idea for the permission group system. What about a permission blacklist? The server first checks if the permission is in that list and if it is then cPlayer:HasPermission returns false. If it isn't in the blacklist then it continues doing what it was doing before.
Reply
Thanks given by:
#42
Reply
Thanks given by:
#43
Well for example you want a group that has all the WorldEdit permissions but you don't them to be able to load craftscripts. You simply put "worldedit.*" in the normal permissions and then put "worldedit.scripting.execute" in the blacklist.
Reply
Thanks given by:
#44
That actually makes sense and a pretty good use-case. The blacklist would work as a pre-filter, having higher priority than the whitelist.
Will the BFUA (BFU-Admins Smile) be smart enough to understand such a system?
Reply
Thanks given by:
#45
We could try implementing a small tutorial button in the webadmin page Wink
Reply
Thanks given by:
#46
(08-13-2014, 09:18 PM)xoft Wrote: That actually makes sense and a pretty good use-case. The blacklist would work as a pre-filter, having higher priority than the whitelist.
Will the BFUA (BFU-Admins Smile) be smart enough to understand such a system?
Everyone that comes from Bukkit or Spigot and is using there Permissions System or a Bukkit/Spigot plugin like "GroupManager" or "PEX" will understand, how to use a white and blacklist in MCServer.
Reply
Thanks given by:
#47
Very well then, I shall implement that.
Reply
Thanks given by: NiLSPACE
#48
I decided not to implement it just yet, I first want to get the UUID system all sorted out so that it works, and only then add new features. I put this idea into the issue tracker, so that it isn't lost:
https://github.com/mc-server/MCServer/issues/1331
Reply
Thanks given by:
#49
I've just found out quite a huge problem with the ranks handling - there is a possibility for a mismatch for player UUIDs when the server is offline - some methods use the player's UUID, which is the offline one, others don't have access to the UUID (because they don't have the cPlayer object available) so they use the cMojangAPI class to look up the UUID, and they work with the online UUIDs. I'll need to fix this somehow, probably mostly in the Core.
Reply
Thanks given by:
#50
[Image: houston-we-have-a-problem.jpg]
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)