Andy - Hello,I have (many) questions about the...
Hello,
I have (many) questions about the Roles API in the Rest API v2.
* Is someone able to explain why there is are 5 different privilege enumerations?
* https://developers.thoughtspot.com/docs/restV2-playground?apiResourceId=http%2Fmodels%2Fenumerations%2Fprivilege
* https://developers.thoughtspot.com/docs/restV2-playground?apiResourceId=http%2Fmodels%2Fenumerations%2Fprivilege-1
* https://developers.thoughtspot.com/docs/restV2-playground?apiResourceId=http%2Fmodels%2Fenumerations%2Fprivilege-2
* https://developers.thoughtspot.com/docs/restV2-playground?apiResourceId=http%2Fmodels%2Fenumerations%2Fprivilege-3
* https://developers.thoughtspot.com/docs/restV2-playground?apiResourceId=http%2Fmodels%2Fenumerations%2Fprivilege-9
* and why different endpoints (even within the same category e.g. user, group and roles) use different privilege enumerations? e.g. Create Role uses Privilege 2 enum but Update Role uses Privilege 9 enum.
* Why each enumeration is slightly different. e.g. Privilege 2 includes
CAN_SETUP_VERSION_CONTROL
but Privilege 9 does not? This means i can create a role with CAN_SETUP_VERSION_CONTROL
selected but not update a role with it.
* Also * CAN_SETUP_VERSION_CONTROL
is not listed in the developer documentation
* Why do Privilege 2 and Privilege 9 NOT include PREVIEW_THOUGHTSPOT_SAGE
and RANALYSIS
which are options within the UI (and listed in documentation )?2 Replies
Also the below are listed in the enum documentation but not the general developer documentation. Are these new features for an upcoming release? As I am able to create a role with them. but not see anything selected in the UI.
CAN_ACCESS_ANALYST_STUDIO
CAN_MANAGE_ANALYST_STUDIO
DISABLE_PINBOARD_CREATION
PREVIEW_DOCUMENT_SEARCH
THIRDPARTY_ANALYSIS
Hey @Andy - I have just pinged your CSM. I feel we need to have a call to answer these questions.