Permissions and Roles
Permissions define two separate things:
- What a user can do
- Where they can do it
Do not treat roles as global trust. Role + scope is the real control.
Authorization modes
SynckHub deployments commonly run one of two authz behaviors.
Community mode (repo-level)
Community mode is repo-scoped.
- If you have a repo role, you can see the whole repo tree.
- Default role levels are typically:
READERWRITERADMIN
Use this when you want a simple Git-like boundary at the repository level.
Enterprise mode (folder/item-level)
Enterprise mode supports fine-grained access.
- Access can be granted at folder and item scope.
- Members may have access to selected areas but not the full repository.
- Sharing behavior is explicit and auditable.
Use this when teams need strict least privilege and controlled external collaboration.
Action model (what permission actually means)
UI labels vary by deployment, but capability maps to actions such as:
READ_FOLDER: browse folder listingsREAD_CONTENT: read item bytes/contentWRITE_CONTENT: edit contentEXPORT: bulk download/exportMANAGE_PERMISSIONS: change sharing rules
Important: READ_FOLDER and READ_CONTENT are separate concerns. A user may browse a folder without being allowed to read every item’s content.
Inheritance and boundaries
- Folder rules usually propagate to descendants unless overridden by policy.
- Item-level rules can narrow or specialize access.
- Path links never bypass permissions; access is always checked at request time.
Practical role assignment pattern
- Grant access at folder scope, not root, unless root access is required.
- Start with read-only where possible.
- Add write/export/manage capabilities only when workflow requires them.
- Re-check guest and external access regularly.
Frequent mistakes
- Granting broad root access for convenience.
- Using export permissions too broadly.
- Assuming a link grants access.
- Letting temporary collaboration access become permanent.
Quick audit checklist
- Can users open only what they should?
- Can guests access only intended folders/items?
- Can only trusted owners/admins change permissions?
- Can only intended users export bulk content?