Nexus Mode

A modern project management tool built with Next.js.

Product

  • Features
  • Pricing

Resources

  • Documentation
  • GitHub

Legal

  • Terms of Service
  • Contact

© ... All rights reserved.

2026
Home
DocsFeaturesPricingServicesContact
Sign InSign Up
Getting StartedAPI ReferencePermissionsExamplesFAQ
docs/permissions
Getting StartedAPI ReferencePermissionsExamplesFAQ

Permissions

Role-based permissions for the Issues dashboard (corp-user and manager).

Overview

A normal signup is a : linked workspace (same id for and ), manager session, and the same Issues powers as an invited manager—see (all teams, teammates’ work, no-team items, including issues owned by any manager in the corp via ), , and corp-users and managers in that corp. Use to invite teammates. This page mirrors .

sole proprietor
corporate
manager
every issue in their solo corporate
personal
issues.user_id
change status and priority
assign or reassign
Corporate
docs/issues-permissions.md

Roles and session fields

Sessions overview

Dashboard behavior is driven by role-specific session fields returned from getSession().

RoleSession fieldsNotes
Sole proprietor (linked workspace)managerIdcorpIdcorpNameJWT sessionType: managerDefault after self-serve signup + email confirm. Same nanoid for corporates.id and managers.id (managers.corp_id equals that id). On Issues: full visibility across the solo corporate and teammates’ issues (including colleagues’ personal issues), edit status/priority, assign and reassign.
Invited managermanagerIdcorpId

High-level Issues access by role

What each role can see
Area / ActionSole proprietor (linked)Corp-userInvited manager
/dashboard/issues (can open page)✅ manager view (solo corp + teammates)✅ corp-user view✅ manager view
See issues for own account✅ via corp / team filters (all teams in solo corp)✅ created / assigned / team issues✅ via corp / team filters
See issues for other corp-users✅ any teammate in solo corp✅ same corp, with relationship✅ any corp-user in corp
See issues for other corporations❌ redirect + toast❌ redirect + toast❌ redirect + toast
Change status / priority✅ any issue in solo corp (like a manager)✅ authorized issues✅ any issue in corp they can view
Assign / reassign✅ within solo corp

Single issue permissions

Per-issue actions
RoleView?Edit meta?Assign / reassign?
Sole proprietor (linked)Any issue in their solo corporate—including teammates’ and colleagues’ personal issues (user_id)—same rules as invited manager✅ status / priority (like a manager)✅ assign / reassign teammates
Corp-userIssues they are related to (creator / assignee / team)✅ authorized issues✅ within same corporation
Invited managerAny issue in their corporation (another manager’s team, or a personal issue where issues.user_id is a colleague’s manager id in the same corp)✅ status / priority✅ assign / reassign teammates in corp
corpName
JWT sessionType: manager
Admin-created corporate; managerId is not the shared linked id. Same Issues powers as a sole proprietor within that corporation (all teams, assign teammates).
Corp-usercorpUserIdcorpIdTeammate in exactly one corporation.

Account: The dashboard nav includes Account (/dashboard/settings) for any signed-in session.changeUserPasswordAction updates the password for the signed-in managers or corp_users row.

✅ within corp, if authorized
✅ within corp

Sole proprietor vs invited manager: same Issues rules in code (isManager()); the table splits them for clarity. After signup you land in the Sole proprietor column.