• Resolved theblueli

    (@theblueli)


    Hello. Say I have a forum with 4 different forums.
    example. City A, City B, City C, City D.
    I want to restrict only the user who lives in City A, can visit the City A forum.
    who live in City B can visit the City B forum and so on.

    In this case. Should create different user roles. So I can Forum Permissions feature to control the access.

    I expect there will be more than 100+ cities. Concern if it does any harm if I create 100+ user roles…

    And as for this method, it is very different to be managed/ or to add a new user role by the non-tech admin user.

    Or there is a better way?

    Thanks

    • This topic was modified 2 years, 1 month ago by theblueli.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support gVectors Dev

    (@gvectorsdevs)

    Hi @theblueli,
    If you are creating several forums where you want to separate the forums with the user roles, first you need to create the same amount of Usergroups.

    City1 Usergroup users have access to City1 Forum
    City2 Usergroup users have access to City2 Forum

    Now there you have 2 options, create User Roles For each Usergroup and Synchronize them to each other or use 1 user role, for example Subscriber, but give each user a different usergroup, that can be done manually.
    In the second case, all the users would have website access but limited access to the forum by their usergroup.

    Thread Starter theblueli

    (@theblueli)

    either way. we must create separate user roles to achieve it, is it correct?

    Plugin Support gVectors Dev

    (@gvectorsdevs)

    @theblueli,
    in the second case, you can have 1 WordPress User Role and several wpForo Usergroups, in the first case several wpForo Usergroups and several WordPress User Roles.

    Thread Starter theblueli

    (@theblueli)

    Thanks I get it now. I need to disable sync user role in order to assign user to a group.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Is there a good pratice to restrict access for different type/group of user?’ is closed to new replies.