Jump to content

ACL


Atti

Recommended Posts

Is there a way to get the ACL group of a player that is logged in?

I can get his account, i can get the ACL associated with it... but i can't know which group is this ACL in?!

I can check if this acl is equal to anyone in the group "Admins", for example. But if I want that an Admin, a Moderator and also a SuperModerator can do it, how can I do?

The real problem is that i've got a command and I don't want that the user must modify his acl.xml because of this mode.

So I just want everyone that isn't a guest or a common user can use that command...

Link to comment

I'd strongly suggest you do not do this. It's just bypassing the whole system and we cannot remotely encourage that. The system is there to make admins aware of what they're giving users access to, you shouldn't assume that the user even has an Admin group - they could easily rename it to anything they like or decide to have a completely different structure. I know it is a bit inconvenient to have to edit the ACL, and we may look at simplifying it in the future, but it's for the best!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...