[#20] Add attributes in container definition

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2020-07-31 16:14:22 +03:00 committed by Stanislav Bogatyrev
parent b6a0343919
commit 6a2c66cbd8

View file

@ -21,4 +21,14 @@ message Container {
// BasicACL with access control rules for owner, system, others and // BasicACL with access control rules for owner, system, others and
// permission bits for bearer token and extended ACL. // permission bits for bearer token and extended ACL.
uint32 BasicACL = 5; uint32 BasicACL = 5;
// Attributes define any immutable characteristics of container.
repeated Attribute Attributes = 6;
} }
// Attribute is a key-value pair of strings.
message Attribute {
// Key of immutable container attribute.
string Key = 1;
// Value of immutable container attribute.
string Value = 2;
}