diff --git a/pkg/chain/chain.go b/pkg/chain/chain.go index fec4370..ec718a5 100644 --- a/pkg/chain/chain.go +++ b/pkg/chain/chain.go @@ -90,6 +90,8 @@ type ObjectType byte const ( ObjectResource ObjectType = iota ObjectRequest + ContainerResource + ContainerRequest ) type ConditionType byte diff --git a/schema/native/consts.go b/schema/native/consts.go index eab9ec0..d6babb1 100644 --- a/schema/native/consts.go +++ b/schema/native/consts.go @@ -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"