Skip to content
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

[PR #3580/a0bda992 backport][stable-4.7] Prevent deleting protected repositories #3583

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Apr 13, 2023

This is a backport of PR #3580 as merged into master (a0bda99).

Issue: AAH-2300

  • Close modal if the repository deletion fails
  • Disable delete button if the repository is protected (default)
    Screenshot from 2023-04-13 11-08-06
    image

Protected repositories: https://github.com/ansible/galaxy_ng/blob/master/galaxy_ng/app/access_control/access_policy.py#L465 (ansible/galaxy_ng#1671)

* prevent deleting protected repositories
* add .bug file
Issue: AAH-2300

(cherry picked from commit a0bda99)
@app-sre-bot
Copy link

Can one of the admins verify this patch?

@himdel himdel merged commit d413840 into stable-4.7 Apr 13, 2023
@himdel himdel deleted the patchback/backports/stable-4.7/a0bda9927b49005b91ee6035336ee9c6b4d5e22a/pr-3580 branch April 13, 2023 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants