Skip to content

Support of resource holder permissions#18

Merged
kompotkot merged 1 commit intomainfrom
resource-holders
May 24, 2023
Merged

Support of resource holder permissions#18
kompotkot merged 1 commit intomainfrom
resource-holders

Conversation

@kompotkot
Copy link
Copy Markdown
Contributor

Changes

Get, Add, Delete Brood resource holders with permissions.

Add holder permissions:

bugout resources holders add  \
    -token <access_token_uuid> \
    -resource <resource_uuid> \
    '{"holder_id":"<group_or_user_uuid>","holder_type":"user","permissions": ["create","read"]}'

How to test these changes?

Tested locally

Related issues

Copy link
Copy Markdown

@Andrei-Dolgolev Andrei-Dolgolev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks correct

@kompotkot kompotkot merged commit 887594b into main May 24, 2023
@kompotkot kompotkot deleted the resource-holders branch May 24, 2023 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants