LuckPerms

LuckPerms

41.4k Downloads

Admin/Owner approval for editor changes

mio9 opened this issue · 6 comments

commented

When given editor permission, the user is able to make changes to permission nodes through editor, but one must wait for approval from administrators / server owner with (maybe a new) luckperms admin permission before changes are made to the server

Simplified workflow chart:
User with "luckperm.editor" (without admin permission) --> opens editor--> make changes ---> server prompts server admin for changes ---> admins approve/reject changes
server admin my be distinguished by "luckperms.admin"

commented

You could just give your admins access to the editor, but not the applyedits permission, and ask them to send you the command link, for you to apply it.

Furthermore, the changes they make will all be appended to /lp log, so you could review them there.

I think a queued changes + review system is a bit overkill, and don't think it's really in-scope for inclusion within a permissions plugin.

commented

Don’t give the player the luckperms.applyedits permission. That’s what’s needed to actually make changes.

Though you shouldn’t let players edit permissions anyways.

commented

will that prompt admins for pending changes?

p.s. I'm doing this to allow server managers to edit permissions by their own and wait for my approval so that i could do less but at the same time "knows" what they are attempting to change

Luckperms deserves more star....

commented

Maybe a dry run flag, to preview the changes would be doable.

commented

But like ingame instead of the editor.