@@ -25,6 +25,8 @@ func AllPermissions() map[string]string {
|
||||
"story.remove": "Can remove non-owned stories",
|
||||
"story.unlisted": "Can view non-owned unlisted stories",
|
||||
"file.upload": "Can upload files",
|
||||
"file.list": "Can list non-owned files",
|
||||
"file.view": "Can view non-owned files",
|
||||
"file.edit": "Can edit non-owned files",
|
||||
"file.remove": "Can remove non-owned files",
|
||||
}
|
||||
|
||||
@@ -52,3 +52,8 @@ func StoryID() string {
|
||||
func ChapterID() string {
|
||||
return ID("SC", 24)
|
||||
}
|
||||
|
||||
// FileID generates a file ID.
|
||||
func FileID() string {
|
||||
return ID("F", 16)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user