Roles and Access Control
Farkitect uses role-based access control (RBAC) at two levels: organisation and project. This page documents what each role can do and how the two levels interact.
Organisation Roles
Section titled “Organisation Roles”Organisation roles control who can manage the organisation itself — its members, settings, and structure.
| Capability | Owner | Admin | Contributor |
|---|---|---|---|
| View organisation settings | Yes | Yes | Yes |
| Edit organisation settings | Yes | Yes | No |
| Invite members | Yes | Yes | No |
| Remove members | Yes | Yes | No |
| Change member roles | Yes | Yes | No |
| Create projects | Yes | Yes | No |
| See every project, and join any as its admin | Yes | Yes | No |
| Delete the organisation | Yes | No | No |
| Transfer ownership | Yes | No | No |
Owner — one per organisation. Full control including destructive operations (deletion, ownership transfer). Automatically assigned to the person who created the organisation.
Admin — can manage members and settings. Ideal for team leads or managers who need to invite people and create projects but shouldn’t be able to delete the organisation.
Contributor — can access projects they’ve been added to. Cannot manage the organisation. The most common organisation role.
Separately from their role, every member has a type: a Member belongs to this organisation, while a Guest has been invited in from another organisation. Type affects visibility, not project permissions: a guest sees only the organisation members they share a project with, and no pending invitations. The Users tab of Organisation Settings says so: its count reads, for example, 2 of 3, and a note under the list says how many people aren’t shown and who to ask, without naming them.
Project Roles
Section titled “Project Roles”Project roles control what a member can do within a specific project. A person can have different roles on different projects.
| Capability | Admin | Contributor | Viewer |
|---|---|---|---|
| View models and metamodels (Explorer, diagrams, properties) | Yes | Yes | Yes |
| Create/edit model elements and relationships | Yes | Yes | No |
| Create/edit diagrams, catalogs and boards in a model | Yes | Yes | No |
| Import model packages | Yes | Yes | No |
| Change a metamodel (its types, properties, constraints, appearance, inheritance) | Yes | No | No |
| Add a metamodel (import one, create one, generate one with FarkiBot, upgrade one) | Yes | No | No |
| Export packages | Yes | Yes | Yes |
| Manage project members | Yes | No | No |
| Delete project | Yes | No | No |
Admin — full control over the project: its models, its metamodels (M2 Common included) and MOF Core, and who has access. Assign this to project leads, and to whoever looks after the project’s metamodels.
Contributor — can do all modelling work, using the project’s metamodels without changing them, and can’t manage who has access. The standard role for active modellers.
Models and metamodels
Section titled “Models and metamodels”What you may edit depends only on your role, never on the package. No metamodel is read-only in itself: an admin may change any of them, including M2 Common and MOF Core. A contributor sees every metamodel as a viewer does, readable and usable from the Palette, with nothing to change.
An admin can change a metamodel in ways that affect the models built on it. Export the project first if you are unsure; Farkitect offers a backup before the changes that remove things.
Viewer — read-only access. Can explore the model, open diagrams, view properties, and export — but can’t change anything. Useful for stakeholders who need to review models without risk of accidental edits.
How the Two Levels Interact
Section titled “How the Two Levels Interact”The organisation level is the gateway. The project level is the workspace.
- A person must be an organisation member to access any project
- Being an organisation member alone doesn’t give access to any project — they must also be added to specific projects. Organisation contributors and guests see only the projects they have been added to
- The organisation’s Owner and Admins (members, not guests) see every project in it. A project they aren’t in shows as Not a member, with its admins, and can’t be opened until they choose Join as admin: they join at once, with no one’s approval, as the project’s admin. They then appear on the project’s Members tab as Joined as organisation owner (or admin), and the project’s admins are told. So everyone in a project can always see who can read it
- An organisation Admin can create projects and invite organisation members to them
- An organisation Contributor can only access projects they’ve been explicitly added to
A web link copied by a project admin does both steps at once: whoever opens it joins the organisation as a guest and the project as a viewer (see How to share a web link to a diagram).
Example
Section titled “Example”| Person | Org Role | Project A Role | Project B Role |
|---|---|---|---|
| Chase Martin | Owner | Admin | Admin |
| Maya Hawn | Contributor | Contributor | — (no access) |
| Theo Gibson | Admin | Admin | Contributor |
| Ava Tomlin | Contributor | — (no access) | Viewer |
Chase has full access everywhere. Theo, as an organisation admin, could also join any other project. Maya can edit models in Project A but can’t see Project B. Theo can manage both projects. Ava can only view Project B’s models — she can’t edit, and she can’t see Project A at all.
Role-Aware UI
Section titled “Role-Aware UI”The Farkitect interface adapts based on the user’s role:
- Viewers see a read-only interface — edit buttons, context menu edit options, and the Palette’s drag functionality are hidden or disabled
- Contributors see the full editing interface for models, see metamodels read-only, and don’t see project member management
- Admins see everything
This means you don’t need to worry about viewers accidentally changing models — the UI structurally prevents it, backed by server-side enforcement on every mutation.
Backend Enforcement
Section titled “Backend Enforcement”Roles are enforced on every mutation at the Convex backend level — not just in the UI. Even if someone bypasses the UI (for example, via a direct API call), the backend checks their role and rejects unauthorized operations. The UI role adaptation is a convenience for usability, not the security boundary.