Allow to use user/group targets from the policy contract #1095

Merged
fyrchik merged 5 commits from fyrchik/frostfs-node:policy-user into master 2024-04-16 11:03:54 +00:00
Owner

Port #1089
Also, extend support in CLI

Port #1089 Also, extend support in CLI
fyrchik added this to the v0.39.0 milestone 2024-04-15 07:48:58 +00:00
fyrchik requested review from storage-core-committers 2024-04-15 07:49:03 +00:00
fyrchik requested review from storage-core-developers 2024-04-15 07:49:06 +00:00
fyrchik force-pushed policy-user from 041c0fe783 to 19277ac906 2024-04-15 07:49:36 +00:00 Compare
acid-ant approved these changes 2024-04-15 08:15:06 +00:00
aarifullin approved these changes 2024-04-16 09:45:16 +00:00
aarifullin left a comment
Member

That looks okay to me

That looks okay to me
aarifullin reviewed 2024-04-16 09:48:54 +00:00
@ -66,6 +68,16 @@ func parseTarget(cmd *cobra.Command) *control.ChainTarget {
Name: name,
Type: control.ChainTarget_CONTAINER,
}
case userTarget:
Member
That's nice. But could you also, please, add this for `frostfs-adm`: https://git.frostfs.info/TrueCloudLab/frostfs-node/src/branch/master/cmd/frostfs-adm/internal/modules/morph/ape/ape_util.go#L38-L47
Author
Owner

Fixed

Fixed
acid-ant approved these changes 2024-04-16 10:46:41 +00:00
fyrchik force-pushed policy-user from 95e1822ce1 to 41093fe36c 2024-04-16 11:03:35 +00:00 Compare
fyrchik merged commit 97e54066d0 into master 2024-04-16 11:03:54 +00:00
fyrchik deleted branch policy-user 2024-04-16 11:03:55 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 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-node#1095
No description provided.