1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Lack of Interest [Suggestion] This group is a secondary usergroup *only*

Discussion in 'Closed Suggestions' started by Benjy, May 2, 2011.

  1. Benjy

    Benjy Well-Known Member


    This may have been already suggested, but would it be possible to have a flag on usergroups so that I could specify that a specific usergroup is ONLY intended to be used as a secondary usergroup, and trying to assign a user to that usergroup only (as primary) will throw an error.

    Example: primary usergroup = "registered", secondary usergroup = "donor"
  2. Brogan

    Brogan XenForo Moderator Staff Member

    There is no difference to how primary and secondary user groups are treated within the code.

    In the xf_user_group table for example, there is no field denoting primary or secondary.
  3. Benjy

    Benjy Well-Known Member

    That's exactly why this is a suggestion ;)
  4. Brogan

    Brogan XenForo Moderator Staff Member

    It seems like a lot of work and overhead for something which can be managed by the Administrator fairly easily.

    Just append the group names with (Secondary) and then you will know they are only ever intended to be used as secondary groups.

    In actual fact, every single user's primary group should be the Registered user group. So if you are following best practices, the rest are all secondary user groups.

  5. Benjy

    Benjy Well-Known Member

    I can't deny that.
    I totally agree, that's why maybe having a way to actually enforce this would be a good idea. In my case, not all my admins are power users, yet they need to be able to create/edit users and I don't want to have to check every single one of them for mistakes.

    Anyway the idea is there, let the devs (and the community) decide if it's worth doing or not.

Share This Page