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
17 hours ago, David said:

Hey, after you make new button just reload plugin, that should register new permissions.

Thanks for the info 😉

  • Like 1

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
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

80.8k

Files Sold

Total number of files sold.

1.6m

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.