Nameless
Nameless copied to clipboard
Group hierarchy - only allow managing groups below own group
Describe the issue
If you are a mod (not an admin), you can still give them the role upper you
NamelessMC Version
2.0.0-pr12
To Reproduce
- Be a mod
- Have role "Admin" above you
- Give anyone "Admin" even if you don't have it
Expected Behaviour
It shouldn't work like that, in the video you should be able to give "Member" and "Unconfirmed Member"
Screenshots
No response
Additional Information
Heres a video if you don't understand https://cdn.padow.ru/8Gjz.mp4
Hi,
This is intentional, and is normal behaviour in forum software from my experience.
There is a permission "Can edit own group" which can be disabled for certain groups if you do not wish for its members to edit their own groups.
That is not the issue, not the bug with yourself, but either somebody else
Yea i know what you talking about, Something i have wanted to fix for a long time
This is also intentional - permission to modify groups should only be given to the most trusted staff members.
I have changed the label to enhancement since this is not a bug, and maybe in the future we could add a concept of priority.
There is priority system, top groups have the biggest priority we just need to add the actuall if check to check if user role is above the given group
So it can work like discord