SHADE is young: 0.1.0-next.2 is a pre-release, and 0.1.0 isn't out yet.

SHADE
People, security and privacy

People in SHADE

SHADE keeps two separate groups of people, one on each side of a wall. If you know GitHub or Slack, forget how they nest people: here nothing is inside anything else.

flowchart LR
  accTitle: Two groups of people, one on each side of a wall
  accDescr: On the admin's side is the team. Team members are bundled into groups, which limit which entries they edit; they sign in to the admin, and what they may do are actions. On the site's side are accounts. Accounts are bundled into organisations, such as a customer company; they sign in on the website, and what they may do are abilities. Nothing links the two sides.
  subgraph admin["The admin (the team)"]
    direction LR
    m1[Team member] --- group["Group<br>(limits which entries they edit)"]
    m2[Team member] --- group
    m3[Team member] --- group
    admin_note["Sign in to the admin<br>What they may do: actions"]
  end
  subgraph site["The site (accounts)"]
    direction LR
    org["Organisation<br>(a customer company)"] --- a1[Account]
    org --- a2[Account]
    org --- a3[Account]
    site_note["Sign in on the website<br>What they may do: abilities"]
  end
  %% No line crosses the wall: this invisible link only puts the two sides next to each other.
  admin ~~~ site

The team is the staff of the business: the people who sign in to the admin to write, publish and run the site. Team members are bundled into groups, and a group only limits which entries its members may edit. A group never gives anyone more rights.

Accounts are the people who sign in on the site: customers of a shop, people who book appointments, the members of a club, or the employees who use an internal tool. Accounts can be bundled into organisations, a company, club or school they belong to.

Not like GitHub or Slack

In GitHub or Slack an organisation owns teams and the teams hold users. SHADE does not work that way:

  • An organisation never owns a team, and the team never belongs to an organisation.
  • A team member is never an account, and an account can never reach the admin, whatever its role on the site.
  • Nothing is a tenant: an organisation has no admin, no settings and no content of its own.

The four words

WordWhat it isWhat it is not
Team memberOne person who works in the admin. Their own page is My profile.An account, a member of an organisation or "staff" of a module.
GroupA set of team members, shown as Team groups, that limits which entries they edit.A team, a department, or a way to give rights.
AccountOne person who signs in on the site.A team member, the sign-in record Better Auth keeps (those are credentials), or a login for the admin.
OrganisationA company, club or school that accounts belong to.The owner of a team, a tenant, or a part of the team.

Two more words keep the wall clear. A contact is a person known by an email address, with or without an account (a newsletter subscriber is a contact). And a module gives accounts account roles and abilities on the site, while team members have roles and actions in the admin: the two sets never cross.

Where to go next

  • Team and roles: the team's roles, groups, and which entries each may edit.
  • Accounts: signing in on the site, account roles and what accounts can do.
  • Organisations: the companies, clubs or schools accounts belong to, their owners and invitations.
  • Signing in and API tokens: how the team signs in, and tokens for programs.
  • Identity providers: the team signing in with Microsoft, Google or Keycloak.
  • The admin follows the same split: the team is in the settings area's Team and access group (team members, roles, team groups, API tokens), and the people you serve are in the sidebar's Customers (contacts, accounts, organisations).