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

Signing - update API endpoint, permission checking #1861

Merged
merged 6 commits into from
Apr 10, 2022

Conversation

himdel
Copy link
Collaborator

@himdel himdel commented Apr 6, 2022

This depends on ansible/galaxy_ng#1197 ansible/galaxy_ng#1188
(Also on merged ansible/galaxy_ng#1145)

Replaces #1801, taking the work from there and finishing the canSign logic using the nearest namespace.related_fields.my_permissions.


testing:
no need for custom pulp-ansible here, but depends on ansible/galaxy_ng#1188
setting env vars for signing example in ansible/galaxy_ng#1197 (comment)

src/api/sign-collections.ts Outdated Show resolved Hide resolved
@himdel himdel force-pushed the updating-signing-endpoint branch from 9c94441 to e0d3860 Compare April 6, 2022 23:18
@ZitaNemeckova
Copy link
Member

ZitaNemeckova commented Apr 7, 2022

Needs ansible/galaxy_ng#1188 . Without that it uploaded a collection to undefined repo (or I messed something up).

Copy link
Member

@ZitaNemeckova ZitaNemeckova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works and code looks good :)

@himdel himdel merged commit f94bcb7 into ansible:master Apr 10, 2022
@himdel himdel deleted the updating-signing-endpoint branch April 10, 2022 22:43
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.

None yet

3 participants