Delete default permissions does not take in a list

Open Beginner friendly
#783 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python
Domain
api

Research direction

Start by comparing the regular permission delete method with the default permissions delete method, then inspect samples/add_default_permission.py around lines 75-79. Confirm how each method handles a list of PermissionRule objects; done means default permission deletion supports the same list behavior and existing tests or sample usage verify multiple rule sets can be deleted.

Written by the indexing model from the issue text.

Description

enhancement good first issue

Regular permission delete method takes in a singular PermissionRule object, or a list of them. It will delete all the permissions included in the list.

Default permissions delete method only accepts a singular PermissionRule object. It will only delete 1 set of rules maximum. See sample, line 75-79.

Dominant language
Python
Stars
716
Forks
446
Avg merge
8d 8h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from tableau/server-client-python

All issues in tableau/server-client-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.