working commit
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* Copyright 2026 Oleg Borodin <onborodin@gmail.com>
|
||||
*
|
||||
* This work is published and licensed under a Creative Commons
|
||||
* Attribution-NonCommercial-NoDerivatives 4.0 International License.
|
||||
*
|
||||
* Distribution of this work is permitted, but commercial use and
|
||||
* modifications are strictly prohibited.
|
||||
*/
|
||||
|
||||
package terms
|
||||
|
||||
const (
|
||||
AsFinePath string = "asFinePath"
|
||||
AsPrefix string = "asPrefix"
|
||||
AsRegexp string = "asRegexp"
|
||||
)
|
||||
|
||||
const (
|
||||
AnonimousUsername string = "anonymous"
|
||||
AnonymousID string = "0000000-0000-0000-0000-000000000001"
|
||||
ServerUsername string = "server"
|
||||
ServerID string = "0000000-0000-0000-0000-000000000002"
|
||||
InitUsername string = "mstore"
|
||||
InitID string = "0000000-0000-0000-0000-000000000005"
|
||||
)
|
||||
|
||||
const (
|
||||
// Accounts, grants
|
||||
RightReadAccounts string = "readAccounts" // GetAccount, ListAccounts
|
||||
RightWriteAccounts string = "writeAccounts" // CreateAccount, UpdateAccount, DeleteAccount
|
||||
RightWriteFiles string = "writeFiles" // FileInfo, GetFile, ListFiles
|
||||
RightReadFiles string = "readFiles" // PutFile, DeleteFile
|
||||
RightReadImages string = "readImages" // ManifestInfo, GetManifest, BlobInfo, GetBlob
|
||||
RightWriteImages string = "writeImages" // other opearion
|
||||
)
|
||||
Reference in New Issue
Block a user