-
Notifications
You must be signed in to change notification settings - Fork 76
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
Collection upload/deprecate - fix permission checks #4015
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
the
backport-4.7
This PR should be backported to stable-4.7 (2.4)
label
Jul 21, 2023
himdel
force-pushed
the
aah2439-collection-actions
branch
2 times, most recently
from
November 18, 2023 03:29
0583d32
to
36131d9
Compare
himdel
added
backport-4.9
This PR should be backported to stable-4.9 (2.4)
and removed
backport-4.8
This PR should be backported to stable-4.8 (2.4)
labels
Nov 20, 2023
himdel
force-pushed
the
aah2439-collection-actions
branch
2 times, most recently
from
November 21, 2023 03:55
5913683
to
cc1c98f
Compare
himdel
commented
Nov 21, 2023
himdel
force-pushed
the
aah2439-collection-actions
branch
4 times, most recently
from
November 30, 2023 23:10
9b02b08
to
0e32cf0
Compare
Issue: AAH-2439 Issue: AAH-2853
himdel
force-pushed
the
aah2439-collection-actions
branch
from
November 30, 2023 23:11
0e32cf0
to
4247795
Compare
@nixocio this should be ready now :) |
nixocio
approved these changes
Dec 4, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@himdel looks good to me. There are a couple of cypress test failures. Not sure if they are flaky ones.
This comment was marked as outdated.
This comment was marked as outdated.
himdel
added a commit
to himdel/ansible-hub-ui
that referenced
this pull request
Dec 4, 2023
* Collection upload/deprecate - fix permission checks Issue: AAH-2439 Issue: AAH-2853 * CollectionHeader - move actions & permissions to CollectionDropdown * Search,NamespaceDetail - use CollectionDropdown * namespace detail respect namespace permissions * fix delete collectio/ns disabled message, use description * inline tryOpenDeleteModalWithConfirm * deleteFn in all 3 dropdowns * linter fix * namespace detail - use object permissions for upload,delete,edit * tests - constistent kebab-toggle click * cy.openHeaderKebab - and scroll to top first * Ratings: don't load scores outside community mode No-Issue * collection-kebab - switch to data-cy * scrollTo fix * aargh, is it a timing bug? * upload new version is no longer available without permissions * openHeaderKebab: add comment about the wait (cherry picked from commit d0ad573)
himdel
added a commit
that referenced
this pull request
Dec 4, 2023
* Collection upload/deprecate - fix permission checks Issue: AAH-2439 Issue: AAH-2853 * CollectionHeader - move actions & permissions to CollectionDropdown * Search,NamespaceDetail - use CollectionDropdown * namespace detail respect namespace permissions * fix delete collectio/ns disabled message, use description * inline tryOpenDeleteModalWithConfirm * deleteFn in all 3 dropdowns * linter fix * namespace detail - use object permissions for upload,delete,edit * tests - constistent kebab-toggle click * cy.openHeaderKebab - and scroll to top first * Ratings: don't load scores outside community mode No-Issue * collection-kebab - switch to data-cy * scrollTo fix * aargh, is it a timing bug? * upload new version is no longer available without permissions * openHeaderKebab: add comment about the wait (cherry picked from commit d0ad573)
github-actions
bot
added
the
backported-4.9
This PR has been backported to stable-4.9 (2.4)
label
Dec 4, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backport-4.9
This PR should be backported to stable-4.9 (2.4)
backported-4.9
This PR has been backported to stable-4.9 (2.4)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue: AAH-2439, AAH-2853
Fixes permission checks for collection upload/deprecate on collection list ,namespace detail & collection detail.
display_repositories
ansible.delete_collection
ORgalaxy.change_namespace
display_repositories
ansible.delete_collection
ORgalaxy.change_namespace
galaxy.change_namespace
galaxy.upload_to_namespace
can_create_signatures
AND NOTcan_upload_signatures
galaxy.change_namespace
ANDgalaxy.upload_to_namespace