---
title: "People and roles"
description: "How people sign in to Tidegate, and what admins and members can do in an organization."
---

# People and roles

People sign in to Tidegate with Google or GitHub. They are in an organization once they create it,
as its admin, or accept an admin's invitation to it; [Signing up and
organizations](/tidegate/docs/organizations) says which accounts Tidegate takes, and how invitations work. What you can do in an organization follows your role in it:

|                                                                     | Members | Admins |
| ------------------------------------------------------------------- | ------- | ------ |
| See apps, meters, prices, budgets, spend, keys, people, and history | Yes     | Yes    |
| Define and remove apps, meters, and prices                          | No      | Yes    |
| Define, freeze, and archive budgets; change limits and alerts       | No      | Yes    |
| Set the organization's alert address                                | No      | Yes    |
| Add, change, and remove the Slack channels alerts are posted to     | No      | Yes    |
| Choose whether they get budget alerts themselves                    | Yes     | Yes    |
| Create and revoke API keys                                          | No      | Yes    |
| Invite and remove people, and change their roles                    | No      | Yes    |

Nobody can see a key's secret after it is created, and people never reserve or settle spend:
only services do, with [API keys](/tidegate/docs/keys).

## The People page

The People page, in Settings, lists everyone in the organization, with their name, how they sign
in, and their role. How they sign in is the address their account was made with; linking another
sign-in doesn't change it. The name is the one their latest sign-in gave; a sign-in that gives none, such as
a GitHub account with no name set, keeps the one they had, and someone no sign-in has named shows
"Not signed in yet" in its place. Someone who signed up with GitHub shows their GitHub username, as
`@ada on GitHub`. Admins invite a person by their email or their GitHub username, as a member or
an admin, with **Invite person**, and the invitation waits under **Invited** until they accept it
([Inviting people](/tidegate/docs/organizations#inviting-people)). Tidegate doesn't email them the invitation:
tell them to sign in with Google, using the account for the address you invited, or with GitHub,
using the account you invited by username. Until they do,
Tidegate mails them nothing, [budget alerts](/tidegate/docs/alerts) included.

An admin changes a person's role, or removes them, from the menu at the end of their row. An
organization always keeps at least one admin, so the last one can't be removed or made a member.
A role change takes effect on the person's next action, in the pages and in their agents.
Removing someone signs them out of the organization, and signs out every agent they connected to
it; the history keeps what they changed. Inviting them again lets them back in, once they accept.
Anyone but the last admin can leave, from the menu on their own row.

The organization's alert address, where its [budget alerts](/tidegate/docs/alerts#who-gets-the-mail) go once
someone there confirms it, and the [Slack channels](/tidegate/docs/alerts#slack-channels) they are posted to,
are on the Alerts page, in Settings.

## Signing in with GitHub

The sign-in page has **Continue with GitHub** below **Continue with Google**. A GitHub account no one has
linked signs in to a Tidegate account of its own, which can create organizations, and accept an
invitation to its GitHub username but not one to an email address. [Signing up with
GitHub](/tidegate/docs/organizations#signing-up-with-github) says how to accept one sent to your email if you
signed up with GitHub.

To sign in to the account you already have with GitHub too, link it: open Your account, in
Settings, and choose **Link GitHub**. The first time, GitHub asks you to authorize Tidegate, which
reads only your GitHub account's id, username, and name; then it sends you back. From then on either
signs you in as the same person, in the same organizations. Linking takes a sign-in from the last ten
minutes: with an older one, choose **Sign in again**, sign in the way you already do, and link again
([Linking another sign-in](/tidegate/docs/organizations#linking-another-sign-in)).

Tidegate never matches a GitHub account to a person by email, so linking is the only way to reach an
existing account with it. A GitHub account links to one person at a time, so one that already signs
in to an account of its own can't be linked to yours; linking another GitHub account to yours
replaces the one before.

## More than one organization

Someone in several organizations sees one at a time. Switch between them from your menu at the
bottom of the sidebar, which also creates another organization; the browser remembers the last
one. An [agent](/tidegate/docs/agents) you sign in acts with your role, in the organization you chose for it.
