Skip to content

Commit

Permalink
sdk/python: Add extensive testing for AuthN module
Browse files Browse the repository at this point in the history
- Add individual tests for each permission (and derived role) using the Python SDK.

Signed-off-by: Ryan Koo <[email protected]>
  • Loading branch information
rkoo19 committed Sep 4, 2024
1 parent e72fb7a commit 9013791
Show file tree
Hide file tree
Showing 2 changed files with 457 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/aistore/sdk/authn/access_attr.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ class AccessAttr(IntFlag):
OBJ_UPDATE = 1 << 7
BCK_HEAD = 1 << 8
OBJ_LIST = 1 << 9
PATCH = 1 << 10
BCK_SET_ACL = 1 << 11
PATCH = 1 << 10 # TODO: Not implemented in SDK
BCK_SET_ACL = 1 << 11 # TODO: Implemented in SDK
LIST_BUCKETS = 1 << 12
SHOW_CLUSTER = 1 << 13
CREATE_BUCKET = 1 << 14
Expand Down
Loading

0 comments on commit 9013791

Please sign in to comment.