Skip to content

Commit

Permalink
fix get dataset permissions (#1401)
Browse files Browse the repository at this point in the history
  • Loading branch information
svetleo-evidently authored Dec 19, 2024
1 parent ca7c254 commit 5e0267a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/evidently/ui/managers/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ class DefaultRole(Enum):
Permission.PROJECT_READ,
Permission.PROJECT_WRITE,
Permission.PROJECT_SNAPSHOT_ADD,
Permission.DATASET_READ,
Permission.DATASET_WRITE,
Permission.DATASET_DELETE,
},
(DefaultRole.EDITOR, EntityType.Dataset): {
Permission.LIST_USERS,
Expand All @@ -111,6 +114,7 @@ class DefaultRole(Enum):
Permission.LIST_USERS,
Permission.ORG_READ,
Permission.PROJECT_READ,
Permission.DATASET_READ,
},
(DefaultRole.VIEWER, EntityType.Team): {
Permission.LIST_USERS,
Expand Down

0 comments on commit 5e0267a

Please sign in to comment.