Early work on file stuff.
the build was successful

This commit is contained in:
2019-07-25 23:21:25 +02:00
parent 2c00358f4f
commit 5bcc7479ff
11 changed files with 394 additions and 1 deletions
+2
View File
@@ -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",
}
+5
View File
@@ -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)
}