Sharing rules and permissions #11

Closed
opened 2026-01-28 19:03:46 +00:00 by jason.woltje · 0 comments
Owner

Implement sharing and permission system.

Sharing levels:

  • Private (owner only)
  • Workspace (all workspace members)
  • Team (specific team)
  • Specific users

Permissions:

  • View: Can see item
  • Edit: Can modify item
  • Admin: Can delete and manage sharing

API:

  • POST /api/:entity/:id/share - Share with users/teams
  • DELETE /api/:entity/:id/share/:share_id - Remove sharing
  • GET /api/:entity/:id/permissions - List permissions

Requirements:

  • Inheritance from workspace settings
  • Override at item level
  • Efficient permission checks
Implement sharing and permission system. **Sharing levels:** - Private (owner only) - Workspace (all workspace members) - Team (specific team) - Specific users **Permissions:** - View: Can see item - Edit: Can modify item - Admin: Can delete and manage sharing **API:** - POST /api/:entity/:id/share - Share with users/teams - DELETE /api/:entity/:id/share/:share_id - Remove sharing - GET /api/:entity/:id/permissions - List permissions **Requirements:** - Inheritance from workspace settings - Override at item level - Efficient permission checks
jason.woltje added this to the M2-MultiTenant (0.0.2) milestone 2026-01-28 19:03:46 +00:00
jason.woltje added the apip0 labels 2026-01-28 19:03:46 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaic/stack#11