apotheca

module
v0.0.0-...-b2d045a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2024 License: AGPL-3.0

README

apotheca

A document repository written in Go

Role-based Permissions

  • Read: 1
  • Update Owned: 2
  • Create: 4
  • Delete Owned: 8
  • Manage (CRUD) Department Docs and Routes: 16
  • Manage (CRUD) Global Docs and Routes: 32
  • Full Perms: 64

Roles Explanation

System Admin

System Admins will have full permissions to CRUD documents and routes, and manage user permissions (perm = 127).

Document Admins

Document Admins will have permissions to CRUD documents and routes, but not user permissions (perm = 63).

Department Managers

Managers will have permissions to CRUD documents and routes belonging to their department (perm = 31).

Authors

Authors will have permissions to CRUD documents where they are owners (perm = 15).

Users

Users have basic Read-only access to documents (perm = 1).

Directories

Path Synopsis
cmd
cli
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL