doc/administration/external_users.md
{{< details >}}
{{< /details >}}
External users have limited access to internal or private groups and projects in the instance. Unlike regular users, external users must be explicitly added to a group or project. However, like regular users, external users are assigned a member role and gain all the associated permissions.
External users:
External users are commonly created when a user outside an organization needs access to only a specific project. When assigning a role to an external user, you should be aware of the project visibility and permissions associated with the role. For example, if an external user is assigned the Guest role for a private project, they cannot access the code.
[!note] An external user counts as a billable user and consumes a license seat.
If you created an external providers list, users who sign in with a listed provider are automatically marked as external.
Prerequisites:
To create a new external user:
You can also create external users with:
You can configure your instance to make all new users external by default. You can modify these user accounts later to remove the external designation.
When you configure this feature, you can also define a regular expression used to identify email addresses. New users with a matching email are excluded and not marked as an external user. This regular expression must:
/regex pattern/i).For example:
\.int@example\.com$: Matches email addresses that end with [email protected].^(?:(?!\.ext@example\.com).)*$\r?: Matches email address that don't include [email protected].[!warning] Adding a regular expression can increase the risk of a regular expression denial of service (ReDoS) attack.
Prerequisites:
To make new users external by default: