ansible / ansible/galaxykit

groups.delete_permission fails if a group has >10 permissions

Open
#57 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
10
Forks
16
PR merge metrics
No merged PRs in 30d

Description

This is because it fetches the default 10 from the list and looks for those permissions to remove individually. If the permission being deleted isn't on the first page of results in that query, it skips.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the groups.delete_permission entry point and inspect how it retrieves the group's permissions before removing one. Reproduce the case with more than 10 permissions, then verify that deleting a permission beyond the first page succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, authorization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.