Skip to content

assign groups to projects while publishing workbooks #760

Closed

Description

Is there a way to assign projects to groups based on the requirement

Activity

  1. graham-marcus commented on Dec 12, 2020

    @graham-marcus

    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

  2. ghost changed the title [-]assigned projects to groups [/-] [+]assign groups to projects while publishing workbooks[/+] on Dec 13, 2020
  3. brycelarsen-shc commented on Dec 18, 2020

    @brycelarsen-shc

    Is there a way we can directly add groups to projects, instead of specifying permission to workbook

    You can do this using server.projects.populate_permissions

    Check out the project endpoint: https://github.com/tableau/server-client-python/blob/master/tableauserverclient/server/endpoint/projects_endpoint.py

  4. github-actions commented on Aug 18, 2026

    @github-actions

    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.

  5. jacalata commented on Aug 25, 2026

    @jacalata
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions