RelationalAI / rai-sdk-python

The RelationalAI Software Development Kit (SDK) for Python.
Apache License 2.0
17 stars 4 forks source link

added read only user #144

Closed staworko closed 7 months ago

staworko commented 7 months ago

Added supported role of read only user

joshuafcole commented 7 months ago

Just saw this -- I don't see any issue with it, but it doesn't seem like this role is mapped for any of the other SDKs. What's the story here?

staworko commented 7 months ago

While setting Pathfinder playgrounds for users that didnt have accounts in our latest environment, we wanted to grant them only the minimal set of privileges. It is something one can do through rai-cli or console but not python sdk. I suspect this is a result of simple omission and not an intentional choice.

joshuafcole commented 7 months ago

Gotcha, ship it! :shipit:

staworko commented 7 months ago

@dpsanders, FYI: the USER_READ_ONLY role will now be the main branch