Jump to content

Permissions not work

Not a Bug 2.0.1

Icarust
Icarust

Posted (edited)

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
David

Posted

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

Stampy

Posted

i carnt make a button the /custombuttons dont work

David

Posted

15 minutes ago, Stampy said:

i carnt make a button the /custombuttons dont work

I already responded to your ticket

David

Posted

Changed Status from Pending to Not a Bug

Icarust

Posted

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
Icarust

Posted

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?

David

Posted

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.

David

Posted (edited)

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

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

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.