We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81b2e90 commit 7e5435cCopy full SHA for 7e5435c
src/ai/backend/manager/models/rbac_models/migration/enums.py
@@ -81,16 +81,6 @@ def member_operations(cls) -> set[OperationType]:
81
cls.READ,
82
}
83
84
- @classmethod
85
- def monitor_operations(cls) -> set[OperationType]:
86
- """
87
- Returns a set of operations that are considered monitor operations.
88
- Monitor operations are those that allow read access.
89
90
- return {
91
- cls.READ,
92
- }
93
-
94
95
class ScopeType(enum.StrEnum):
96
DOMAIN = "domain"
src/ai/backend/manager/models/rbac_models/migration/user.py
@@ -25,8 +25,6 @@
25
OperationType.GRANT_READ,
26
OperationType.GRANT_UPDATE,
27
28
-SUPERADMIN_OPERATIONS = OPERATIONS_IN_ROLE
29
-MONITOR_OPERATIONS = {OperationType.READ}
30
31
32
class UserRole(enum.StrEnum):
0 commit comments