Sample Project: Role-Based Permissions
This example uses sample data to show how Opheleon can turn a goal into connected planning layers and implementation work.
Goal statement
Build workspace-level role-based permissions so growing teams can control who can view, edit, and manage projects without relying on engineering support for every access change.
Example BRD excerpt
Growing customer teams need safer access controls before inviting more users into shared planning workspaces. Success means admins can manage access independently while reducing accidental exposure of sensitive project context.
Example PRD excerpt
Workspace admins can invite members, assign roles, update access, and review a confirmation before changes apply. Non-admin members can view their current role but cannot change workspace permissions.
Example HLD excerpt
The product uses a centralized authorization layer for workspace actions. Project, document, and settings workflows call the same permission checks before allowing privileged operations.
Example LLD excerpt
Add role assignment persistence, enforce role checks in workspace member endpoints, migrate existing account admins, and add tests for unauthorized project and document edits.
Example generated tasks
- Add workspace role assignment data model and migration.
- Implement authorization checks for member management endpoints.
- Add UI states for role selection, confirmation, and permission errors.
- Create tests for admin, editor, and viewer access paths.
Where GitHub change summaries help
If future commits change the permission model, Opheleon can use GitHub change summaries as context when drafting later BRDs, PRDs, HLDs, or LLDs so new plans reflect what actually shipped.
