As a domain admin, I should be able to run orphan cleanup for my domain
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 598
- Forks
- 168
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 86
Description
Is your feature request related to a problem? Please describe.
cleanup is opened only to the system admin. This might be inconvenient in the domain enabled deployment where owner of the domain cannot free-up his storage bucket.
Describe the solution you'd like
A domain admin should be able to run orphan cleanup, but only for their domain
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context about the feature request here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing orphan-cleanup entry point and the permission check that currently limits it to system administrators. Trace how the current domain or admin scope is represented, then determine how cleanup can be restricted to the requesting domain. Done means a domain admin can clean only that domain while existing system-admin behavior remains intact, with tests covering both scopes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- authorization, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100