How to assign users to groups


(Katie Kormanik) #1

In the founder’s analogy of dining at a restaurant:

  • Can we assign users to a particular room, at a particular table (and ensure no one else not at that table can join the conversation)?
  • Can users at one table interact with users at another table, within the same room (and ensure no one else from different rooms can join the conversation)?
  • Can a user at one table interact with specified users at different tables, in different rooms (and ensure no one else can enter that conversation)?
    Importantly, can the admin assign users to these groups described above?

Thanks for all help / feedback!


(cpradio) #2

So yes, there are Groups, so you could put all users at a table in a group.

You can then create a category setting the permissions so only that group can create/reply/see topics in it. (scenario 1?)

You can create categories that permit 2 or more groups to be able to create/reply/see topics in it. (scenario 2?)

Scenario 3, sounds like a good position for Moderator/Admin, where they are sort of like the Manager walking around ensuring all patrons are having a good time? If so, then assigning that user as an Admin (or Moderator – if they don’t need that much access), would resolve that (you may have to setup a category permission for staff on each category)


(Kourosh Behnam) #3

Hi cpradio,

Thanks for the information. I have created 1 group and have added 1 user to that group. I can only see that group and user in the Admin page after I click on Groups. See screenshot below.

My questions are:

  1. Is there another place where I can see my group I created within Discourse instead of the admin page. I can’t seem to find it.
  2. How can I start adding categories and topics within the group I just created?

Best,
Kourosh


(Mittineague) #4

There is no groups “index” page, And other than getting to a group page from a link in a Profile, you need to know the group name.
The URL is like
{domain_here}/groups/{group_name_here}
eg. Discourse Meta

On that page there are
Posts
Topics
Mentions
Members
Messages


(Kourosh Behnam) #5

I found it. When I go to my profile, I can see the groups that I’m in highlighted in blue.

Now that I’m on the group page, can I post a topic within the group or do I have to do that on the index page? Is the admin of the group the only person that can post a topic?

Thanks.


(Mittineague) #6

AFAIK the group admin was created to allow non-group members to admin the group. eg. add members, remove members.
I don’t fully understand the need for this, but others asked for it and now it’s there.

The groups pages are more like the Users page except they currently have no filtering or ordering functions. That is, more for display / navigation than anything else.

As far as a “topic within the group” I think the usual practice is to create a Category and grant permissions to only the group members.
The category is then in effect a “private” category for that group alone, unless you give permissions to other groups as well. (eg. staff)

You can control who can start topics / post replies with the categories “create, reply, see” settings


(Gaz Hs) #7

Perhaps this is now broken but you cannot grant access to a catagory based on groups, only by trust level.


(David Taylor) #8

You definitely can grant category access based on groups, I’m using it right now.

After creating a group, you need to go to the category’s preferences, then the “security” tab


(Gaz Hs) #9

Strange. That’s exactly what I did but groups don’t show only trust levels.


(Gaz Hs) #10

Oh. OK. Seems the category must exist first and can’t be new, then it works. My bad.


(Joshua Rosenfeld) #11

If that’s the case I would assume it’s a #bug. Just to verify, you are saying that if you make a new category, the security tab only shows trust levels 0-4, everyone, admin, moderators, and staff, but if you go to Edit a category you then see all the above plus custom groups?

Edit: Just tested and I can confirm that the security tab works as expected. All custom groups appear regardless of whether I am creating a new category or editing an existing one. So, not a bug.


(Miguel) #12

The tab ‘Groups’ in admin has disappeared since the last update. Any solution?

Thanks!


(Régis Hanol) #13

It’s in the hamburger menu now. Look for groups :wink:


(Miguel) #14

It’s true, my failure. Thanks!! :smile: