mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
14 lines
338 B
Go
14 lines
338 B
Go
|
package users
|
||
|
|
||
|
// Permissions describe a user's permissions.
|
||
|
type Permissions struct {
|
||
|
Admin bool `json:"admin"`
|
||
|
Execute bool `json:"execute"`
|
||
|
Create bool `json:"create"`
|
||
|
Rename bool `json:"rename"`
|
||
|
Modify bool `json:"modify"`
|
||
|
Delete bool `json:"delete"`
|
||
|
Share bool `json:"share"`
|
||
|
Download bool `json:"download"`
|
||
|
}
|