8000 [TYPE 1]Add add/delete tags on workbooks as a direct API call for permission reasons · Issue #1421 · tableau/server-client-python · GitHub
[go: up one dir, main page]

Skip to content

[TYPE 1]Add add/delete tags on workbooks as a direct API call for permission reasons #1421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
AverageJoeGuy-tech opened this issue Jul 17, 2024 · 0 comments
Labels
enhancement needs investigation Issue needs to be looked at by Tableau

Comments

@AverageJoeGuy-tech
Copy link

Summary
Add add and delete tags on a workbook as a direct API call instead of indirectly updating a workbook because permissions may allow users to change tags but not update the workbook.

The current REST API calls of adding/deleting a tag on a workbook

Add
https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_workbooks_and_views.htm#add_tags_to_workbook

Delete
https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_workbooks_and_views.htm#delete_tag_from_workbook

Description
To update tags in a workbook, the current method is update the tags on a workbook then update the workbook: workbooks.update(workbook_item). The main problem is the user must have update permissions on the workbook but changing the tags is a different permission. Currently users may have ability to change tags but not update the workbook.

The proposal is to either add new function calls like workbooks.add_tag(workbook_id, tag) and worbooks.delete_tag(workbook_id, tag) or handle it using a combination call but separate from update() like workbooks.update_tags(workbook_id, tags[]).

@AverageJoeGuy-tech AverageJoeGuy-tech added enhancement needs investigation Issue needs to be looked at by Tableau labels Jul 17, 2024
jorwoods added a commit to jorwoods/server-client-python that referenced this issue Jul 22, 2024
jorwoods added a commit to jorwoods/server-client-python that referenced this issue Jul 25, 2024
jorwoods added a commit to jorwoods/server-client-python that referenced this issue Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement needs investigation Issue needs to be looked at by Tableau
Projects
None yet
Development

No branches or pull requests

1 participant
0