-
Notifications
You must be signed in to change notification settings - Fork 448
Description
Use Case: As a project leader, I would like to use TSC to query a project with all its workbooks (with users and their permissions) and datasources (with users and their permissions). Currently, I can only get user info if I am an admin for a full site, but not for a project leader.
Seems like there is no programmatic way for a project leader to get a list of all users/groups for each workbook/datasource under the project he's a project leader in.
Justification: This behavior will match exactly what a project leader can do if they go to Tableau Server under the project they are a project leader (you can set permissions, view the list of users and groups and all the workbooks and datasources under that project).
Current behavior if I query for users under projects:

Ideally, we should also get the list of users for a project, workbook or datasource by using a similar function call to this:
users, pagination_item = server.project.users.get()
or
users, pagination_item = server.workbook.users.get()
same with datasources:
users, pagination_item = server.datasources.users.get()