Skip to content

Rustrak v0.25.0: Roles and Permissions

Choose a tag to compare

@AbianS AbianS released this 06 Nov 12:27
df4bf2b

Before you upgrade. Read Upgrade to 0.25. Everyone keeps their project access, but members need a new permission to create projects, and tokens can no longer be copied again or create other tokens. Take a backup: going back needs it.

Roles and permissions

A role is now a set of permissions you define, under Settings → Roles. See Roles & Permissions.

  • 22 resources, from issues and logs to storage and integrations, each with its own actions
  • Give a role on all projects, including future ones, or on the projects you choose
  • A member's page shows everything they hold, with custom permissions for what no role covers
  • Nobody can give a permission they do not hold or change their own access
  • Screens hide or disable what you cannot use, and the server enforces it for the API and MCP too
  • Existing project levels become editable roles. Instance admins are now shown as Owner

Scoped API tokens

  • Limit a token to chosen permissions, chosen projects and an expiry date. It never exceeds its owner
  • Tokens are stored as a SHA-256 hash, so the value only shows once, when you create it
  • Creating a token needs a signed-in session: a token cannot create another, and the create_token MCP tool is gone

Invitations

  • Send an invitation by email, through your email integration or the SMTP_* variables, and resend it later (@LiJoeAllen)
  • An invitation can carry a role and a scope, held from the moment it is accepted

Improvements

  • The login page is redesigned
  • The issue list's tab says Archived, matching the Archive button
  • GET /api/access/me says what the caller may do, and GET /api/access/catalog lists every permission

Artifacts

rustrak/rustrak-server:v0.25.0
rustrak/rustrak-server:v0.25.0-postgres
rustrak/rustrak-ui:v0.25.0

@rustrak/client@0.25.0 on npm.
Also tagged latest and postgres on Docker Hub.

What's Changed

  • chore: version packages by @AbianS in #498
  • feat(docs): redesign the website on the product design system by @AbianS in #499
  • chore: version packages by @AbianS in #500
  • docs: redesign the documentation against the code, with interactive demos by @AbianS in #495
  • chore: version packages by @AbianS in #501
  • feat: deliver team invitations by email by @LiJoeAllen in #486
  • feat(docs): technical SEO foundation for rustrak.dev by @AbianS in #502
  • chore: version packages by @AbianS in #503
  • chore: version packages by @AbianS in #505
  • feat(server): granular permissions and scoped API tokens by @AbianS in #507
  • feat(dashboard): redesign the login page by @AbianS in #508
  • feat(dashboard): manage member access, roles and scoped API tokens by @AbianS in #506
  • chore: version packages by @AbianS in #509

Full Changelog: v0.24.0...v0.25.0