marty000123

Permissions are screwed!!

Recommended Posts

Permissions seem to be screwed as it's no longer possible for mods/admins/console to kick, ban, mute, /whois, etc. 

''[2019-07-17 10:05:12] WARNING: [admin]\admin\server\admin_server.Lua:826: Access denied @ 'kickPlayer'''

I have not changed anything in the script. These warnings and dysfunctionalities just randomly appeared at some point.

Help would be appreciated.

Share this post


Link to post
1 hour ago, marty000123 said:

Permissions seem to be screwed as it's no longer possible for mods/admins/console to kick, ban, mute, /whois, etc. 

''[2019-07-17 10:05:12] WARNING: [admin]\admin\server\admin_server.Lua:826: Access denied @ 'kickPlayer'''

Please post your ACL.xml

Share this post


Link to post
13 minutes ago, marty000123 said:

There's no kickPlayer permission in any of your admin/moderator ACL groups. Usually, it's under the Moderator ACL so other staff ACLs can inherit it like this:

    <group name="Admin">
        <acl name="Moderator"></acl>

As i can see, your admin and supermoderator groups are still correctly inheriting the Moderator group like the above, so you can fix it by adding this line in the Moderator ACL:

<right name="function.kickPlayer" access="true"></right>

So actually, something corrupted/misconfigured your ACL. I also see a lot of empty groups there, which is probably not intended either.

30 minutes ago, marty000123 said:

Permissions seem to be screwed as it's no longer possible for mods/admins/console to kick, ban, mute, /whois, etc.

Note: don't forget to check & fix permissions with everything similarly to my kickPlayer example. Just mind that some permissions (like ban) aren't inherited from Moderator ACL but only given through the Admin ACL for obvious reasons (just add it to an ACL you assign to your staff that should be able to ban etcetera). If you're lost or afraid to introduce insecurities, refer to the default ACL.xml structure.

Share this post


Link to post

Thanks, something did indeed mess up the function.kickPlayer, mute permissions etc.!

Share this post


Link to post

Search server.log for the string ACL to see what caused the changes

Share this post


Link to post

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.