29 lines
637 B
Plaintext
29 lines
637 B
Plaintext
# Structure
|
|
|
|
## users
|
|
- id
|
|
- name
|
|
- email
|
|
- hash
|
|
- admin
|
|
- updated_at
|
|
- created_at
|
|
|
|
## warrens
|
|
- id
|
|
- name
|
|
- path
|
|
- allow_children
|
|
- updated_at
|
|
- created_at
|
|
|
|
## user_warrens
|
|
- user_id
|
|
- warren_id
|
|
- can_create_children (the user-specific flag, the warren's `allow_children` takes precedence so that both flags have to be enabled)
|
|
- can_list_files (see and traverse the layout of the warren's directories and files)
|
|
- can_read_files (read contents of the warren's files)
|
|
- can_modify_files (edit contents of the warren's files)
|
|
- can_delete_files (delete files and directories)
|
|
- can_delete_warren (delete the warren and all its contents)
|