Skip to content

Commit 61e97bc

Browse files
authored
added read only user (#144)
Both rai-cli and console web interface allow creating users with read-only priviledges (role). This PR adds this ability to the Python SDK
1 parent 8c1f906 commit 61e97bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

railib/api.py

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ class Mode(str, Enum):
5555
class Role(str, Enum):
5656
USER = "user"
5757
ADMIN = "admin"
58+
USER_READ_ONLY = "user-read-only"
5859

5960

6061
# User/OAuth-client permissions

0 commit comments

Comments
 (0)