policy: Initial implementation #44

Merged
fyrchik merged 1 commit from fyrchik/frostfs-contract:policy-contract into master 2023-11-02 07:07:58 +00:00
Owner
On-chain support for https://git.frostfs.info/TrueCloudLab/policy-engine/
fyrchik force-pushed policy-contract from 0a97374d03 to 6b9a090434 2023-10-19 16:35:45 +00:00 Compare
acid-ant approved these changes 2023-10-20 10:42:54 +00:00
fyrchik requested review from storage-core-committers 2023-10-20 11:01:14 +00:00
fyrchik requested review from storage-core-developers 2023-10-20 11:01:15 +00:00
fyrchik requested review from storage-services-committers 2023-10-20 11:01:15 +00:00
fyrchik requested review from storage-services-developers 2023-10-20 11:01:16 +00:00
dkirillov approved these changes 2023-10-23 07:36:29 +00:00
dkirillov left a comment
Member

Please use correct link to the PR in commit message

Please use correct link to the PR in commit message
fyrchik force-pushed policy-contract from 6b9a090434 to 3f0a865e8b 2023-10-23 07:45:13 +00:00 Compare
fyrchik force-pushed policy-contract from 3f0a865e8b to 238c864087 2023-10-23 07:46:40 +00:00 Compare
dstepanov-yadro approved these changes 2023-10-23 14:35:42 +00:00
aarifullin reviewed 2023-10-25 15:52:36 +00:00
policy/doc.go Outdated
@ -0,0 +5,4 @@
| Key | Value | Description |
|------------------------------------------|--------|-----------------------------------|
| 'c' + uint16(len(container)) + container | []byte | Namespace chain |
| 'n' + uint16(len(namespace)) + namespace | []byte | Container chain |
Member

The doc table lacks i prefix that is used for IAMs

The doc table lacks `i` prefix that is used for `IAM`s
Author
Owner

Will fix, I have added IAM for discussion -- we might want to store these policies somewhere, they could be accessed with the same interface, but have different format.

Will fix, I have added IAM for discussion -- we might want to store these policies somewhere, they could be accessed with the same interface, but have different format.
aarifullin approved these changes 2023-11-01 08:19:32 +00:00
fyrchik force-pushed policy-contract from 238c864087 to 9ed3845aa9 2023-11-02 06:54:45 +00:00 Compare
fyrchik merged commit 9ed3845aa9 into master 2023-11-02 07:07:58 +00:00
fyrchik referenced this pull request from a commit 2023-11-02 07:07:59 +00:00
fyrchik deleted branch policy-contract 2023-11-02 07:07:59 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-services-developers
No milestone
No project
No assignees
5 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-contract#44
No description provided.