mt-mods / travelnet

Network of teleporter-boxes that allows easy travelling to other boxes on the same network. (Mod for Minetest)
https://content.minetest.net/packages/mt-mods/travelnet/
GNU General Public License v3.0
7 stars 12 forks source link

removal and editing not allowed as expected #31

Open SwissalpS opened 2 years ago

SwissalpS commented 2 years ago

a) travelnet_remove priv is supposed to allow to remove any no matter the protection b) owner should always be able to remove/edit his stations/elevators no matter if in his protection c) protection members should also be able to edit/remove stations d) travelnet_attach is supposed to allow to attach to other players no matter the protection

right?

cyriax has both travelnet privs and couldn't even remove his own elevator that was protected by other player.

On side-note: while investigating I noticed that travelnet.check_if_trying_to_dig() is never used.

eris667 commented 9 months ago

I was going to make a similar bug report, travelnet_attach and travelnet_remove permissions are not being applied to elevators -- but they do work as intended for the teleporters from privs.lua

eris667 commented 8 months ago

After poking around a bit, could the issue be not related to permissions -- instead related to the fact that the edit form for the elevator does not have the same 3 fields as the travelnet?

cross posted here: https://github.com/Sokomine/travelnet/issues/72

verified I am using the mt-mods version on my server