Core / Access Control

Access with
clear rules.

Users belong to one or more groups. Their effective permissions are the union of all their groups’ permissions. Every authorization check runs on the server.

Platform and app wildcards

PermissionEffect
*All existing and future platform permissions
docs.*All permissions within Docs; no access to Core administration
docs.pages.workspace.accessOnly the protected Docs workspace page
core.users.manageCreate users and assign groups
core.groups.manageCreate groups and read the permission catalog
Information:
The “Platform Administrators” group has the * permission. An empty installation creates admin@gope.de with the initial password admin. Existing accounts and passwords are not overwritten on startup.

Custom permissions in gope.json

{
  "appname": "docs",
  "icon": "mdi-text-box-outline",
  "category": "Documentation",
  "dashboard": false,
  "version": "0.2.0",
  "description": "Dokumentation",
  "permissions": [
    { "key": "docs.examples.manage", "description": "Beispiele verwalten" }
  ],
  "pageAccess": {
    "index": "public",
    "workspace": "permission",
    "reports/[id]": "docs.examples.manage"
  }
}

Custom permissions must start with the app name. After changes, run bun run db:migrate or rebuild the containers. Core administration can filter permissions by app, source and search text. The read-only API /api/core/permissions?app=docs&source=page&q=workspace requires core.groups.manage.

Page permissions are generated automatically

The scanner reads every Astro, TypeScript, JavaScript and Markdown route under src/pages. Examples:

pages/index.astro         → docs.pages.index.access
pages/workspace.astro     → docs.pages.workspace.access
pages/guides/index.astro  → docs.pages.guides.access
pages/reports/[id].astro  → docs.pages.reports.id.access
pages/api/core.ts         → docs.api.core.access

A catalog permission does not automatically protect a page. pageAccess enables authorization: public keeps it public, authenticated requires a login, permission requires the generated page permission. Alternatively, specify a custom permission key. Keys for dynamic routes use the Astro route pattern. Pages without an entry remain public; existing Core API authorization still applies.

The page Docs Workspace demonstrates this check. It is accessible using the individual permission, docs.* or * . A Docs-only permission does not allow administrative actions in Core.

Check in app code

import { coreRpc, hasPermission } from '@gope/rpc';
const user = await coreRpc(manifest, 'auth.me', cookie);
if (!hasPermission(user?.permissions ?? [], 'docs.examples.manage')) {
  return new Response('Forbidden', { status: 403 });
}

Tagging an agent in conversation

Design paper principles, integrated into this chapter. Original annotations remain in English; planned concepts are not a list of shipped features.

Seven frames in #projekt-meyer. Lena asks a financial question in the middle of a project conversation, gets a cited answer, and the channel members who are not entitled to see the figures get a legible, non-embarrassing version of the same exchange.

PERSONEN

AGENTEN

One list, two groups, never two menus. Agents carry the graphite ring and a lowercase handle; people carry their own avatar and a full name. The ring is the only visual difference that matters, and it is the same ring everywhere in the product.

No modal, no "ask AI" mode, no separate thread. The question sits in the channel where the work is being discussed, so the answer will too — and everyone who reads the channel tomorrow reads the reasoning along with it.

The thinking state names its sources as it reads them, ticking each off. It is not decoration: it is the first half of the citation. If the answer later looks wrong, this list is where you find out why.

Every figure in the prose is repeated in the block below it, and every source behind those figures is a chip. Clicking a chip opens that object in an overlay window — the invoices, the timesheet, the contract — without leaving the channel.

The amber note is the uncertainty state, and it is deliberately not styled as an error. An agent that says "this total may be incomplete, and here is exactly which record is missing" is worth more than one that is confidently round.

Same message, redacted per reader — not hidden, not deleted. Everyone sees that a question was asked and answered, which keeps the conversation coherent; only the entitled see the numbers. The asker gets a small "nur für dich sichtbar" marker on their own copy and a one-click share.

The refusal names the rule, not the person, and never implies the asker did something wrong. It always offers the nearest thing it can do — a decline that ends in a dead end teaches people to stop asking.

The agent stays addressed for as long as the thread is about it — no second mention needed. And because this is a write, it arrives as the same proposal card used in the digest, the approval queue and the accounting module. One component, three surfaces.

Seven agents, one mark: a graphite squircle with a soft double ring, initial inside. No faces, no robots, no pastel mascots. They are recognisably one family and recognisably not people, which is the only distinction that has to survive at 16 px.

The same reply component renders in four places: inline in a channel, in the assistant overlay, as an object-scoped conversation ("Zu diesem Projekt fragen"), and as a scheduled post. Only the header changes.

Reads are free within permissions; writes are proposals until an admin promotes a specific action type to automatic. The autonomy setting states the consequence in one sentence — "Zahlungserinnerungen gehen ohne Rückfrage raus" — and shows what happened last month under that rule.

Every agent action writes a row: what, when, on whose behalf, which records were read, and whether a human approved. It is the same list-row pattern as everywhere else, filtered by agent and by action type.

A proposal, with its evidence

@buchhaltungSource: invoiceSource: time records

A write names the affected records, explains what will change and waits for approval.

ApproveEditReject

Design example · agent execution is planned.

Profile

Profile information comes first; permission groups and direct permissions appear below. Profile pictures accept PNG, JPEG and WebP up to 2 MB, are cropped to a square, and can be replaced or removed. Picture changes are audited; only you or a user administrator may change your picture.

Sessions and sign-in

Passwords are hashed with Argon2id. A random session token is stored in an HttpOnly/SameSite=Lax cookie; PostgreSQL stores only its hash. Permissions are read on every request. Logout invalidates the server-side session. Core forms that write data check the configured origin. The first ten login attempts per email address within 15 minutes are allowed.

New users created through administration need passwords of at least twelve characters; the requested bootstrap password is the explicit exception for the first local login. Self-service registration, password reset, MFA and cross-domain SSO are not included in this foundation.

Drag to reorder, or use Alt + Left or Right.

Navigation

HomeDocumentationAccessibilityQuickstart

↑↓ navigate↵ open