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

#2182 - Wording page admin/agences et page entreprise + TECH : migration pour remplacer agencyOwner par agency-admin et refacto roles en kebab case #2206

Merged
merged 6 commits into from
Sep 23, 2024

Conversation

ClementLmd
Copy link
Contributor

@ClementLmd ClementLmd commented Sep 17, 2024

Le point "Chez nous, remplacer le rôle "administrateur" par "super admin"" du ticket #2182 n'a pas été traité ici car ce rôle n'est pas encore présent.

@ClementLmd ClementLmd self-assigned this Sep 17, 2024
@ClementLmd ClementLmd linked an issue Sep 17, 2024 that may be closed by this pull request
@ClementLmd ClementLmd changed the title 2182 changements de wordings #2182 - Modification de wording : page admin/agences et page entreprise Sep 17, 2024
@ClementLmd
Copy link
Contributor Author

ClementLmd commented Sep 17, 2024

Un utilisateur a le rôle d'agencyAdmin (précédemment agencyOwner) en prod, à modifier
==> fait dans un fichier de migration

Copy link

@@ -273,14 +273,14 @@ describe("RenewConvention", () => {
{
...inclusionConnectedUser,
agencyRights: [
{ agency, roles: ["agencyOwner"], isNotifiedByEmail: false },
{ agency, roles: ["agencyAdmin"], isNotifiedByEmail: false },
Copy link
Contributor

Choose a reason for hiding this comment

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

agency-admin

Copy link
Contributor

Choose a reason for hiding this comment

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

ajouter un script de migration pour le renommage du role dans la table users_agencies

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Les rôles ont été passés en kebab case (commit 2724add)
Le script de migration est fait et a été testé en local (commit 0f9c367)

@ClementLmd ClementLmd changed the title #2182 - Modification de wording : page admin/agences et page entreprise #2182 - Wording page admin/agences et page entreprise + migration pour enlever agencyOwner + refacto roles en camel case Sep 19, 2024
@ClementLmd ClementLmd changed the title #2182 - Wording page admin/agences et page entreprise + migration pour enlever agencyOwner + refacto roles en camel case #2182 - Wording page admin/agences et page entreprise + TECH : migration pour remplacer agencyOwner par agency-admin et refacto roles en kebab case Sep 19, 2024
@ClementLmd ClementLmd force-pushed the 2182-changements-de-wordings branch 2 times, most recently from 20fadb0 to fb78a4b Compare September 19, 2024 15:36
@ClementLmd ClementLmd merged commit 191722e into main Sep 23, 2024
13 of 14 checks passed
@ClementLmd ClementLmd deleted the 2182-changements-de-wordings branch September 23, 2024 12:27
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.

Changements de wordings
2 participants