News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Multiple Admin Groups

Started by Tw2Stefan, December 27, 2017, 10:57:24 PM

Previous topic - Next topic

Tw2Stefan

Hi, is it possible to have multiple membergroups as an admin group?

Our usergroup 1 is designated as the "CEO" membergroup, and we'd like it only assigned to one person. However, we have multiple people that need the same permissions, specifically our technical team. Short of simply changing the name of the group id 1, is there a possibility to set group id 168 to have the same exact permissions as group 1? We'd prefer to not change group id 1's name or assign it to multiple people because of how our rank structure is set-up.

Thank you.

Edit:
Now, I don't mean just having access to the admin cp. I'm talking about full admin perms, such as the permission that says no one can edit someone's account in this group. That's not a permission that can be granted (AFAIK) and only people in group id 1 have.

Aleksi "Lex" Kilpinen

Depends on the purpose you are doing this for I think.

If it is only to create a different profile badge and title, then it should be easy. Just create a new user group for the "secondary admins" and give the other admins that new group as primary, and group 1 as secondary. ( Admins will be able to see everyone listed as belonging to group 1, for example from the who's online -legend and admin panel, regardless of the way it is set, but for other users this should only show those with the group set as primary. )
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Illori

Quote from: Tw2Stefan on December 27, 2017, 10:57:24 PM
such as the permission that says no one can edit someone's account in this group.

that is not a default feature of SMF. anyone that is admin can edit any account of anyone registered.

Arantor

Actually there's two things being conflated here.

Group 1 is special on levels that cannot be easily duplicated. But group 1 is also marked as a protected group so that only people in group 1 can add or remove people from the group. Similarly group 168 could be marked as protected and people would not be able to add anyone to that group unless they were in group 1 or group 168.

The best solution really is to give someone group 1 rather than trying to clone group 1. Because if you don't trust them with the access, don't give them the access.

Tw2Stefan

Quote from: Arantor on December 28, 2017, 05:15:13 AM
Actually there's two things being conflated here.

Group 1 is special on levels that cannot be easily duplicated. But group 1 is also marked as a protected group so that only people in group 1 can add or remove people from the group. Similarly group 168 could be marked as protected and people would not be able to add anyone to that group unless they were in group 1 or group 168.

The best solution really is to give someone group 1 rather than trying to clone group 1. Because if you don't trust them with the access, don't give them the access.
It's not so much a fear of giving people access, but simply to keep the "CEO" group as usergroup id 1. Worst comes to worst, we can always switch which group is #1, but we'd prefer to not do that. It's purely for aesthetic purposes.

Arantor

Group 1 is literally hardcoded as having special group access. The tech people can have group 1 as a hidden group and not be visible to users.

Advertisement: