]> git.r.bdr.sh - rbdr/mobius/blobdiff - hotline/access.go
patch: v0.0.12
[rbdr/mobius] / hotline / access.go
index 21b438f79e29cfe1f0e8516a447e82af8a07d2b9..27be15796cd7defe2ea724f91a4c132214c23cc3 100644 (file)
@@ -6,7 +6,7 @@ import (
 )
 
 const (
 )
 
 const (
-       accessAlwaysAllow      = -1 // Some transactions are always allowed
+       accessAlwaysAllow = -1 // Some transactions are always allowed
 
        // File System Maintenance
        accessDeleteFile   = 0
 
        // File System Maintenance
        accessDeleteFile   = 0
@@ -28,25 +28,25 @@ const (
        accessOpenUser   = 16
        accessModifyUser = 17
        // accessChangeOwnPass    = 18 // Documented but unused?
        accessOpenUser   = 16
        accessModifyUser = 17
        // accessChangeOwnPass    = 18 // Documented but unused?
-       accessSendPrivMsg      = 19 // This doesn't do what it seems like it should do. TODO: Investigate
+       //accessSendPrivMsg      = 19 // This doesn't do what it seems like it should do. TODO: Investigate
        accessNewsReadArt      = 20
        accessNewsPostArt      = 21
        accessDisconUser       = 22 // Toggles red user name in user list
        accessCannotBeDiscon   = 23
        accessGetClientInfo    = 24
        accessNewsReadArt      = 20
        accessNewsPostArt      = 21
        accessDisconUser       = 22 // Toggles red user name in user list
        accessCannotBeDiscon   = 23
        accessGetClientInfo    = 24
-       accessUploadAnywhere   = 25
-       accessAnyName          = 26
-       accessNoAgreement      = 27
-       accessSetFileComment   = 28
-       accessSetFolderComment = 29
-       accessViewDropBoxes    = 30
-       accessMakeAlias        = 31
+       //accessUploadAnywhere   = 25
+       //accessAnyName          = 26
+       //accessNoAgreement      = 27
+       //accessSetFileComment   = 28
+       //accessSetFolderComment = 29
+       //accessViewDropBoxes    = 30
+       //accessMakeAlias        = 31
        accessBroadcast        = 32
        accessNewsDeleteArt    = 33
        accessNewsCreateCat    = 34
        accessBroadcast        = 32
        accessNewsDeleteArt    = 33
        accessNewsCreateCat    = 34
-       accessNewsDeleteCat    = 35
+       //accessNewsDeleteCat    = 35
        accessNewsCreateFldr   = 36
        accessNewsCreateFldr   = 36
-       accessNewsDeleteFldr   = 37
+       //accessNewsDeleteFldr   = 37
 )
 
 func authorize(access *[]byte, accessBit int) bool {
 )
 
 func authorize(access *[]byte, accessBit int) bool {