News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

How to make group can only give certain groups

Started by Zakees_, August 15, 2020, 11:40:11 AM

Previous topic - Next topic

Zakees_


Hello, how can I make a group can only give certain groups?

Let's say that group "A" can only assign groups "B" and "D" to other users, but not group "C".

Arantor

That's not something SMF can do out of the box.

You can make groups protected, meaning that people in Group A with the relevant permission could give other people access to Group A as long as they're in group A themselves before handing it out (same way admin group is protected, you can't give someone admin unless you're admin yourself)

You can also make people moderators of groups, so you could make all the people in group A moderators of B and D, but this isn't something 2.0 can otherwise do.

I *think* this got added in 2.1 but I'm not 100% sure (it would have been 5 years ago that this was last looked at) and 2.1 isn't finally out yet.
Holder of controversial views, all of which my own.

efk

This is tricky and its permission based with following problems. Why tricky, because you have to give Manage and assign membergroups so this can be problem if you want to hide some boards, because person with this access can grant to himself or to anyone access to private boards. Also can remove membergroups and similar. And what is important to know is that if membergroup with permission Manage and assign membergroups doesn't have permission Administrate forum and database, then you can hide from him special membergroups by using Protected membergroups, so only moderator of membergroup can assign it or administrator.
So better option is to go from membergroup to membergroup and to give moderators - people who can promote/remove members. Set membergroups to be Private and set moderators.
Main question is how many people you want to be in this story and do you trust them.


Advertisement: