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

  On 8/17/2021 at 9:41 PM, Stampy said:

i carnt make a button the /custombuttons dont work

Expand  

I already responded to your ticket

David

Posted

Changed Status from Pending to Not a Bug

Icarust

Posted

  On 8/17/2021 at 8:25 PM, David said:

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

Expand  

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

  On 8/18/2021 at 6: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?

Expand  

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 6: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?

Expand  

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.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.7k

Files Sold

Total number of files sold.

2.4m

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.