Stargate Rewritten

Stargate Rewritten

241 Downloads

Presets are lacking custom network permissions[TMS 222190]

Pheotis opened this issue ยท 3 comments

commented

When creating a network as an online user (in this case, Pheotis, with sg.preset.moderator set to true);

Creating the following portal:

3

t7

will result in this personal gate.
image

As the user t7 has not joined the server, and thus, as there is no {t7} network (nor a user lock), the result should be (t7).

Attempting to force a custom portal fails as well, implying that there is a user lock where there shouldn't be one:

3

(t7)

image

It should be noted that it is considering this to be a personal gate directly -- i.e. is checking sg.network.personal instead of sg.network.custom.name

Even if this were not a parsing error, that is also a problem.
Should the permission not be something like sg.create.network.personal.others.name?

image

Possibly related to #165?

commented

[TMS 222192]

Update: this appears to be an issue with ANY custom name while under the sg.preset.moderator group.

29

portalTestNet
AQ

image
for instance, portalnetTest.

This does NOT occur when the player is OP'd.

 2b

portalTestNet
AS

image

commented

I've looked into this:
The presets are lacking any permission regarding sg.create.custom and sg.destroy.custom. Might be a good idea to add that node into the builder preset or something like that

commented

I'm still getting problems with generating proper child permissions for the sg.create.custom node