XF 2.2 Best Practices for Assigning Main and Secondary User Groups

VisEntities

Active member
I'm looking for some advice on the best practices for setting up main and secondary user groups. Like, if I want to be in the "moderator" group, should I make it my main group and have "registered" as my secondary? Or should "registered" be my main group and "moderator" be my secondary? Or should I just have "moderator" as my main group with no secondaries at all?

1717258944386.webp
 
Registered as primary and no need to duplicate permissions in the moderator group as theyll be inherited from the base Registered group - you only need to give a group the extra permissions it needs
 
Registered as primary and no need to duplicate permissions in the moderator group as theyll be inherited from the base Registered group - you only need to give a group the extra permissions it needs
If I don't need to set the same permissions in Registered in Moderator to Yes, does that mean I set them all to No in Moderator and only the new ones that Moderator has to Yes?

Because when you create a user group, it comes already with assigned permissions (Yes/No)
 
If I don't need to set the same permissions in Registered in Moderator to Yes, does that mean I set them all to No in Moderator and only the new ones that Moderator has to Yes?

Because when you create a user group, it comes already with assigned permissions (Yes/No)
Yes leave them at No, if u dont want the group to have the permission then set it to Never (unless its the base Registered group, in which case set it to No)
 
If I don't need to set the same permissions in Registered in Moderator to Yes, does that mean I set them all to No in Moderator and only the new ones that Moderator has to Yes?
Exactly. In the secondary groups, think of no as no change. If you really want to cancel a yes in another secondary group , then use never, however beware - this will override any yes that may be present in any other secondary groups.

If you have many secondary groups it can get complex, use the ACP Analyse Permissions to help see how it all works - you can choose a user and see how the different permissions interact to create a final value.
 
On the topic of best practises

Probably the most common use of permissions is this:

Registered (primary)

Screenshot 2024-06-01 at 18.49.52.webp

Approved user (secondary)


Screenshot 2024-06-01 at 18.50.14.webp

Create a User Group promotion (under the Groups and Permissions ACP navigation) so that after x posts that need approval, they get promoted to add the Approved user secondary group.

That way very little spam gets onto the viewable forums.
 
Back
Top Bottom