Restricting Team Access

We have a need to deny access to a Team outside a defined IP range.We intend to perform this task with the Location directive within nginx;s reverse proxy server. I cannot seem to find the specific Team name or ID’s directory to try this experiment.

Any ideas? Have others tried other methods?

Thanks

Hi @Gift_Of_Sight,

A response from a community member:

To get the team ID, given a team name, you could use the API. (Also, they’re not too convinced by your approach. Sounds like it might break usage of Mattermost in strange/unexpected ways.)

Thank you. I’m struggling with this issue.

Are there other options to restrict a Team or group of users to the internal network while allowing another group or members of a team access outside the firewall?

Thanks for your help.

amy.blais

    May 27

Hi @Gift_Of_Sight,

A response from a community member:

To get the team ID, given a team name, you could use the API. (Also, they’re not too convinced by your approach. Sounds like it might break usage of Mattermost in strange/unexpected ways.)

A response from a community member:

He wasn’t sure if restricted users move between allowed/forbidden networks, but if not, you could try to configure the authentication method (e.g. LDAP) to prevent restricted users from login unless they are in the allowed network.