forked from TrueCloudLab/frostfs-sdk-go
[#225] container/acl: Make Basic
type numeric
Also make well-known values constant not variables. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
3b15a01327
commit
aa5ee1dcde
2 changed files with 26 additions and 36 deletions
|
@ -17,14 +17,4 @@ func init() {
|
|||
for i := range orderedOps {
|
||||
mOrder[orderedOps[i]] = uint8(i)
|
||||
}
|
||||
|
||||
// numbers are taken from NeoFS Specification
|
||||
Private.FromBits(0x1C8C8CCC)
|
||||
PrivateExtended.FromBits(0x0C8C8CCC)
|
||||
PublicRO.FromBits(0x1FBF8CFF)
|
||||
PublicROExtended.FromBits(0x0FBF8CFF)
|
||||
PublicRW.FromBits(0x1FBFBFFF)
|
||||
PublicRWExtended.FromBits(0x0FBFBFFF)
|
||||
PublicAppend.FromBits(0x1FBF9FFF)
|
||||
PublicAppendExtended.FromBits(0x0FBF9FFF)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue