Add native schema consts #19

Merged
dstepanov-yadro merged 1 commit from dstepanov-yadro/policy-engine:feat/native_schema into master 2023-11-14 12:21:28 +00:00

subj

subj
dstepanov-yadro force-pushed feat/native_schema from 86aec98ab0 to 2cf9ddf011 2023-11-14 09:29:15 +00:00 Compare
dstepanov-yadro requested review from storage-core-committers 2023-11-14 09:29:46 +00:00
dstepanov-yadro requested review from storage-core-developers 2023-11-14 09:29:48 +00:00
dstepanov-yadro requested review from dkirillov 2023-11-14 09:30:00 +00:00
dstepanov-yadro force-pushed feat/native_schema from 2cf9ddf011 to 38985e4ec8 2023-11-14 10:10:01 +00:00 Compare
aarifullin approved these changes 2023-11-14 11:04:36 +00:00
dkirillov reviewed 2023-11-14 11:06:58 +00:00
@ -0,0 +37,4 @@
PropertyKeyObjectPayloadLength = "$Object:payloadLength"
PropertyKeyObjectPayloadHash = "$Object:payloadHash"
PropertyKeyObjectType = "$Object:objectType"
PropertyKeyObjectHomomorphicHash = "$Object:homomorphicHash"
Member

Can we also add property for object attribute FilePath?

Can we also add property for object attribute `FilePath`?
Owner

It is user-defined, so we could just use FilePath, without any $Object: prefix

It is user-defined, so we could just use `FilePath`, without any `$Object:` prefix
dkirillov marked this conversation as resolved
fyrchik approved these changes 2023-11-14 11:13:04 +00:00
@ -0,0 +13,4 @@
ResourceFormatNamespaceContainerObjects = "native:object/%s/%s/*"
ResourceFormatNamespaceContainerObject = "native:object/%s/%s/%s"
ResourceFormatRootObjects = "native:object/root/*"
Owner

What is the meaning of root in this context, do we have eACL counterpart?

What is the meaning of `root` in this context, do we have eACL counterpart?
Author
Member

Namespace

Namespace
Owner

Namespace is taken from the container attributes, root is a valid name for non-root namespace. The "root" namespace is the default one, with no name at all.

Namespace is taken from the container attributes, `root` is a valid name for non-root namespace. The "root" namespace is the default one, with no name at all.
acid-ant approved these changes 2023-11-14 12:04:51 +00:00
dkirillov approved these changes 2023-11-14 12:12:11 +00:00
dstepanov-yadro merged commit 38985e4ec8 into master 2023-11-14 12:21:28 +00:00
dstepanov-yadro deleted branch feat/native_schema 2023-11-14 12:21:31 +00:00
Sign in to join this conversation.
No description provided.