Teams
More than one person can use a panel, each with a role the server checks on every request.
Roles
- Admin: everything.
- Developer: apply
yawl.yaml, deploy, roll back, run a cron job now, back up now, set and unset variables, read logs and metrics. Not: reveal a secret, restore a backup, delete, move, manage servers, members or API tokens of others, or change settings (storage, Telegram, the watcher, GitHub, updates, the recovery key). - Viewer: reads pages, logs and metrics; changes nothing, and cannot read secrets.
What a Developer can still see. A Developer cannot reveal a secret through Yawl, but can deploy code (or a cron job, or a release command) that runs with the environment’s variables, and so can read them that way. The 403 stops the direct reveal, not a determined Developer. Give the Developer role only to people you would trust with the secrets of the environments they deploy. yawl apply also lets a Developer create projects and environments, although the dashboard’s buttons for those are an Admin’s.
A refused request answers 403 with the reason, for example Developers cannot reveal secrets. or Viewers cannot change anything.; the dashboard shows it where the action was tried.
The person who claimed the panel is the first Admin. There must always be at least one Admin: the last one cannot be removed or made something else (There must be at least one Admin.).
Inviting
Team, Members, Invite: pick a role, and Yawl shows a link once, https://<panel>/invite#<token>. It works once, for 7 days. Send it any way you like; Yawl sends no email. The person opening it sets an email and a password (12 characters or more) and is signed in. Pending invites are listed with their expiry and can be revoked.
Changing a role, removing
Changing a member’s role, or removing them, ends their sessions and revokes their API tokens at once. What they did stays in the audit log under their email.
API tokens
An API token belongs to the member who made it and carries their role: a Developer’s token can deploy, not reveal. A token made by yawl login belongs to whoever approved the sign-in in the browser. yawl server token create on the server makes a token for the first Admin. Tokens made before teams belong to the first Admin. The audit log names a token’s member: API token ci (dilnoza@acme.uz).
Not yet
Roles per project or environment, single sign-on, two-factor sign-in, personal notifications. Every member sees every project; Telegram stays one chat for the panel.