Jump to content

Permissions not work

Not a Bug 2.0.1

hello and thanks for the great update 😉

However, I just wanted to take away the rights for a button from a group, so that they can not see the button.

However, when I want to take away the rights of the default group, because I want to create an admin button, I get the error:

Permission 'custombuttons.hide.Test' doesn't exist

I named the button Test, I used the following command for it:

oxide.grant group default custombuttons.hide.Test

Kind regards

Edited by Nofrog

Share this comment


Link to comment

I just noticed a small problem with the permission and I wanted to create an admin button that is only visible to admins, but if I now take away the right of the group default with custombuttons.hide.<button-name> the admin can no longer see this button, because this is also in the group default, is there a way to get around this?

Share this comment


Link to comment
1 hour ago, Nofrog said:

I just noticed a small problem with the permission and I wanted to create an admin button that is only visible to admins, but if I now take away the right of the group default with custombuttons.hide.<button-name> the admin can no longer see this button, because this is also in the group default, is there a way to get around this?

I guess you can remove admins from default group but I think that it can be more issue when creating vip buttons. I will work something out to fix that.

Share this comment


Link to comment
On 8/18/2021 at 8:16 PM, Nofrog said:

I just noticed a small problem with the permission and I wanted to create an admin button that is only visible to admins, but if I now take away the right of the group default with custombuttons.hide.<button-name> the admin can no longer see this button, because this is also in the group default, is there a way to get around this?

Permission system changed to how it was previously, every button have separate permission requirement to show up, users with permission custombuttons.admin can see all the buttons without having specific permissions.

Edited by David

Share this comment


Link to comment
348.2k

Downloads

Total number of downloads.

1.8k

Customers

Total customers served.

23.8k

Files Sold

Total number of files sold.

369.5k

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.