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

Update Scopes instead of creating new ones if code is the same #28

Merged
merged 6 commits into from
Jan 12, 2022

Conversation

tramuntanal
Copy link
Contributor

🎩 What? Why?

When updating scopes from yaml files if the code was the same but the name changed a new scope was created.
This PR resolves this situation and simply updates the Scope instead of resulting in two scopes with the same code and different names.

@tramuntanal tramuntanal self-assigned this Jan 11, 2022
tramuntanal and others added 4 commits January 11, 2022 13:19
….com:CodiTramuntana/decidim-erc-crm_authenticable into refactor/update_scopes_when_code_is_the_same
Copy link
Contributor Author

@tramuntanal tramuntanal left a comment

Choose a reason for hiding this comment

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

LGTM @LauraJaimeC just a couple of details 😄

lib/tasks/civi_crm.rake Outdated Show resolved Hide resolved
lib/tasks/civi_crm.rake Outdated Show resolved Hide resolved
@laurajaime laurajaime force-pushed the refactor/update_scopes_when_code_is_the_same branch from 153f948 to b6a3378 Compare January 12, 2022 10:05
@laurajaime laurajaime force-pushed the refactor/update_scopes_when_code_is_the_same branch from b6a3378 to dbaa3bd Compare January 12, 2022 10:06
lib/file_manager.rb Show resolved Hide resolved
lib/tasks/erc_auth.rake Show resolved Hide resolved
lib/tasks/erc_auth.rake Show resolved Hide resolved
@laurajaime laurajaime merged commit d6603be into master Jan 12, 2022
@laurajaime laurajaime deleted the refactor/update_scopes_when_code_is_the_same branch January 12, 2022 10:32
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