Hello guys,
I want to Moderators edit the different roles from members.
But if I give "manage roles" to moderators, they can change himself for administrator. This happens even when I give "edit members" permission to the moderator member.
What can I do to fix it?
Answers
Do you know the usergroup ids of each roll?
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Sorry, I did not understand how to solve this. I have not found anything about usergroup.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@deki can you look into your phpMyAdmin and look in the table that represents the Roles (and maybe User Groups if you have that table). Then look for the Role you want to give permissions to and look for the first column in that table (Primary Key) and write down those numbers).
Show those numbers here in this topic...
What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme | Give thanks to the Vanilla Developers!
- Spam
- Abuse
- Troll
2 • Off Topic Insightful 2Awesome LOL •Ow thanks UnderDog
The role ids:
2 - Guest
3 - Confirm Email
4 - Applicant
8 - Member
16 - Administrator
32 - Moderator
- Spam
- Abuse
- Troll
1 • Off Topic Insightful 1Awesome LOL •I think this question is confused. Moderator moderate discussion and Administrator moderate users.
http://vanillaforums.org/profile/36251/peregrine
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
- Spam
- Abuse
- Troll
1 • Off Topic Insightful 1Awesome LOL •Yes it is confusing, I completely agree... However... and this is something for the documentation too... Sometimes you want your Moderators to be able to administrate (moderate) users.
Let's say there are spammers on your forum. You will want your Community MVPs to be able to mark those posts as Spam and notify anyone who can delete those users.
The moderators will be those type of users that can delete Spammers, Edit Discussions, Edit comments, etc.
In that special case I can understand what deki wants to achieve...
What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme | Give thanks to the Vanilla Developers!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I don't think the question is confused at all.
if you give Garden.Roles.Manage then obviously by virtue of being able to assign role, you can assign yourself a role.
This is not goign to be solved without a plugin becuase it is non standard behaviour.
Don't PM about development, I'm not currently taking on clients.
grep is your friend.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •That's my point. The questioner is confused as to roles and the discussion is confused.
Moderators moderate discussions and Administrators manage users.
if you want moderators to administrate then then they administrate which means the can change user roles, even administrators roles. you have to trust the people who you give administrative roles to.
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Yes, I got it. I was think that, if our adminstrators was trusted people, we will have no problem.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •