policy: Add resource\request for container #44

Merged
fyrchik merged 1 commit from acid-ant/policy-engine:feature/876-cnt-res into master 2024-01-22 15:03:30 +00:00
2 changed files with 5 additions and 0 deletions

View file

@ -90,6 +90,8 @@ type ObjectType byte
const (
ObjectResource ObjectType = iota
ObjectRequest
ContainerResource
ContainerRequest
)
type ConditionType byte

View file

@ -16,6 +16,9 @@ const (
MethodSetContainerEACL = "SetContainerEACL"
MethodGetContainerEACL = "GetContainerEACL"
ObjectPrefix = "native:object"
ContainerPrefix = "native:container"
ResourceFormatNamespaceObjects = "native:object/%s/*"
ResourceFormatNamespaceContainerObjects = "native:object/%s/%s/*"
ResourceFormatNamespaceContainerObject = "native:object/%s/%s/%s"