LuckPermsWeb icon indicating copy to clipboard operation
LuckPermsWeb copied to clipboard

Notify user once session is saved that it may no longer be up to date

Open zigz0g opened this issue 5 years ago • 2 comments

Is it supposed to save? It only will save my user permissions if I was to save it to the server and refresh the tab. Nothing else. Its kind of annoying having to re-enter all of the group permissions if it doesn't save them in the same session. Even when I save it to the server and I refresh the web editor, it doesn't have it saved on it so if I enter something else and save it removes all other permissions. I have over 70 permissions to enter by hand if my computer needs to restart.

zigz0g avatar Feb 09 '20 12:02 zigz0g

When you click on the "Save" button does the editor save the changed permissions by uploading it to the bytebin-server of Luck (similar to how LuckPerms does it when creating the editor session) and give you the command to apply the changes.

It does not update your current session. You have to create a new one after this. This is especially made clear when you check the link of the editor and compare the code with the one you get when saving the changes. They are different.

Andre601 avatar Feb 09 '20 12:02 Andre601

This is a limitation of how the web editor works. As Andre said, you need to close your editor once you've saved it and start a new one from your server after you've applied changes.

I'll keep this issue open as a reminder to add a note once the session has been saved that the session may no longer be up to date.

Turbotailz avatar Feb 09 '20 22:02 Turbotailz