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

Adding new credentials to ACL module check for services #372

Merged
merged 2 commits into from
Mar 14, 2023

Conversation

erickduran
Copy link
Contributor

No description provided.

@erickduran erickduran marked this pull request as ready for review February 11, 2023 00:15
@@ -579,12 +579,16 @@ def map_service_credentials(id):
credentials = data.get('credentials', [])
blind_credentials = data.get('blind_credentials', [])
combined_credentials = credentials + blind_credentials
new_credentials = set(combined_credentials).difference(
_service.credentials + _service.blind_credentials
Copy link
Member

Choose a reason for hiding this comment

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

Does _service.credentials return a list of ids? Making sure it does not return an object / dictionary of some sort.

Copy link
Contributor Author

@erickduran erickduran Feb 13, 2023

Choose a reason for hiding this comment

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

good catch, it's actually a set so just changed to union()

@erickduran erickduran merged commit 5aff214 into master Mar 14, 2023
@erickduran erickduran deleted the add-new-credentials-to-acl-check branch March 14, 2023 17:48
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.

2 participants