You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
assign groups to projects while publishing workbooks #760
Assume I have to create project (default), workbook default and data source default permissions as separate calls.
Created a dictionary item for the capabilities:
capability_wrkbk_viewer = {TSC.Permission.Capability.Read: TSC.Permission.Mode.Allow,
TSC.Permission.Capability.Filter: TSC.Permission.Mode.Allow,
TSC.Permission.Capability.ExportData: TSC.Permission.Mode.Allow,
TSC.Permission.Capability.ExportImage: TSC.Permission.Mode.Allow}
Attempt to create permissions
workbook_rule = [TSC.PermissionsRule(grantee=group_item,capabilities=capability_wrkbk_viewer)]
workbook_permission = server.projects.update_workbook_default_permissions(project_item,workbook_rule)
Returns error status 501 unsupported request default-permissions workbooks not supported
ghost changed the title [-]assigned projects to groups [/-][+]assign groups to projects while publishing workbooks[/+]on Dec 13, 2020
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. If this is still relevant, please comment to keep it open.
Sweep note: this is covered on current TSC. To grant a group access to everything published into a project, set the project's default permissions - see projects.populate_workbook_default_permissions / update_workbook_default_permissions in tableauserverclient/server/endpoint/projects_endpoint.py:322 and :494 (and the matching helpers for datasource, flow, metric, virtualconnection, database, table). Closing.
Activity
graham-marcus commentedon Dec 12, 2020
Support this request
Assume I have to create project (default), workbook default and data source default permissions as separate calls.
Created a dictionary item for the capabilities:
capability_wrkbk_viewer = {TSC.Permission.Capability.Read: TSC.Permission.Mode.Allow,
TSC.Permission.Capability.Filter: TSC.Permission.Mode.Allow,
TSC.Permission.Capability.ExportData: TSC.Permission.Mode.Allow,
TSC.Permission.Capability.ExportImage: TSC.Permission.Mode.Allow}
Attempt to create permissions
workbook_rule = [TSC.PermissionsRule(grantee=group_item,capabilities=capability_wrkbk_viewer)]
workbook_permission = server.projects.update_workbook_default_permissions(project_item,workbook_rule)
Returns error status 501 unsupported request default-permissions workbooks not supported
[-]assigned projects to groups [/-][+]assign groups to projects while publishing workbooks[/+]brycelarsen-shc commentedon Dec 18, 2020
You can do this using
server.projects.populate_permissionsCheck out the project endpoint: https://github.com/tableau/server-client-python/blob/master/tableauserverclient/server/endpoint/projects_endpoint.py
github-actions commentedon Aug 18, 2026
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. If this is still relevant, please comment to keep it open.
jacalata commentedon Aug 25, 2026
Sweep note: this is covered on current TSC. To grant a group access to everything published into a project, set the project's default permissions - see
projects.populate_workbook_default_permissions/update_workbook_default_permissionsin tableauserverclient/server/endpoint/projects_endpoint.py:322 and :494 (and the matching helpers for datasource, flow, metric, virtualconnection, database, table). Closing.