# Members and roles

People are invited to an organization by login or by email address with a role — owner or member. The invited person accepts or declines; membership can be public or hidden.

> **Who can use this:** Inviting, changing roles and removing members is up to an organization owner.

## Invite

1. Open the organization's **People** tab (`/orgs/{login}/people`).
2. Press **Invite to the organization**, enter the person's login **or email address** and pick a
   role.
3. **Invite**. The invitation appears under «Pending invitations»: who, role, who invited, expiry.
   Until the person answers, the invitation can be **withdrawn**. Without an answer it expires after
   seven days.

The person gets a notification and opens the invitation page: the organization name, who invited,
the role, teams and expiry; buttons **Accept invitation** and **Decline**.

### By email

An invitation by email address goes out as **an email with a link**. Opening it, the person signs in
to SKILLOK — with their account or creating a new one right from the sign-in page — and accepts the
invitation. The link works once: an accepted, declined, withdrawn or expired invitation no longer
opens with it.

SKILLOK **does not match the address against accounts**: even if an account already exists for the
address, the pending list shows the address, not the name. Otherwise an email invitation would turn
into a «whose address is this» lookup. Whoever owns the mailbox decides who accepts.

## Roles

* **Owner** — full access to everything in the organization.
* **Member** — works under the base permission on repositories
  ([member privileges](https://skillok.org/docs/en/organizations/organization-settings/member-privileges)) and the rights of
  their teams.

To change a role: in the member's row, the **…** menu → role → **Change role**. An organization must
keep at least one owner.

## Organization roles

On top of the owner or member role a person can be given an organization role — like «Organization
roles» on GitHub. It takes nothing away, only adds:

* **Moderator** — moderates discussions in all the organization's repositories;
* **Security manager** — reads all the organization's repositories, including private ones, whatever
  the base permission;
* **Read / Triage / Write / Maintain / Admin on all repositories** — that role in every repository of
  the organization at once, like GitHub's «All-repository» roles. For example, a mentor for the whole
  organization gets **Triage on all repositories**: they manage issues and see the work but do not
  change code; there is no need to grant it repository by repository.

If there are several roles, the strongest of all applies, as always: base permission, teams, direct
access, organization roles. To check the result — **People** → the member's row → **Repository
access**.

An owner is not a «senior member» but full access to everything: repositories, settings, members,
deleting the organization. Employees are usually best invited as **members**, with rights given
through teams and organization roles.

Roles are assigned and removed by an owner: **Organization settings → Roles**, member and role →
**Assign** — or right on the **People** tab: the **…** menu of a member, role checkboxes, **Save**. A
role is tied to membership: someone who leaves or is removed from the organization loses it.

## Outside collaborators

A person with direct access to an organization's repository who is not a member is an **outside
collaborator**. Organization members see them as a separate list on the **People** tab: who is
admitted to which repositories with which [role](https://skillok.org/docs/en/repositories/settings/collaborators).

## Public and hidden membership

By default membership is hidden: a guest does not see the person among the members. **Make public**
in the member menu shows them in the «Public members» block on the organization page. Members always
see the whole membership.

## Remove or leave

The member menu has **Remove** (owner) or **Leave** (for yourself). You can also leave from the
[account settings](https://skillok.org/settings/organizations), where each organization has a **Leave** button. The
person loses access to the organization's private repositories, leaves its teams, and their forks of
its private repositories are deleted. The last owner cannot leave — make someone else an owner first.

---

https://skillok.org/docs/en/organizations/members-and-roles
