XF 2.2 How to allow moderators to edit user's secondary group

Joao Prates

Active member
Hi,

We have several custom secondary groups created, and in the past it was admin's job to assign the correct user group to each user in due time.

We'd like to allow moderator staff members to be able to do this as well.
They can choose EDIT on the user profile, but the information in that form is very limited and does not resemble the group list we have in the admin panel.

Is there a easy way to allow mods to assign a user to a particular group without involving custom code?

TIA
 
Humm, that's bad IMHO.

The Administrator role is way too much powerfull to be assigned to team members doing mundane management.
The risk of breaking something with all options available is far too great.

Assigning a user to a group should not be that much "security bound" if you will, it's not that serious, staff members should be able to do it.
Do you see any other way to achieve the same result?
 
Humm, that's bad IMHO.

The Administrator role is way too much powerfull to be assigned to team members doing mundane management.
The risk of breaking something with all options available is far too great.

Assigning a user to a group should not be that much "security bound" if you will, it's not that serious, staff members should be able to do it.
Do you see any other way to achieve the same result?
There is an addon that will allow more granular admin permissions, so without giving mods the whole user shooting match, you can give them juts one or two more specific admin permissions:

 
I can offer another way to do it and all via the Front End.

But first - you have to mentally disassociate the term "Warning" from it being about "bad things". Because in reality, the "Warnings" system is simply a means to attribute points to a user's record (with an associated action if required), and for all it matters a point can be a positive or a negative thing. Yes - typically it's used for matters of discipline but you can use it in the opposite direction as well. You might say it's an abuse of a system that's aimed at discipline, but that's just semanitics and a term. It works just as well for pats on the back as for head-slaps.

This Add-On
allows you to categorise Warnings into several different categories, and, importantly, lets points accumulate towards some action on the user's account within each category, such that each category does not interact with others.

So - you can have category/ies for "Warnings" that are actually positive, and contribute towards a benefit rather than a discipline; and have those running alongside (in parallel to) negative Warnings for misdemeanours.

So - you'd set up categories like
  • Transgressions
  • Rewards
(or call them whatever you like).

Moderator issues a "positive warning" (i.e in the Reward category) which is
a) worded positively
b) sends a Conversation to the user containing a positive message etc.
c) adds a point score to that (positive) category on the user's account for a period or indefinitely
d) and, when the point score reaches a threshold, triggers an action to add the user to another UserGroup (for a period, for the duration of the points, or indefinitely), with that UserGroup having the EXTRA permissions you want to award.
 
Top Bottom