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

Allow name edition in CE #7046

Merged
merged 5 commits into from
Jul 20, 2020
Merged

Conversation

soupette
Copy link
Contributor

Signed-off-by: soupette cyril.lpz@gmail.com

Description of what you did:

Allow role name edition for CE.

@soupette soupette force-pushed the fix/ce-allow-role-name-edition branch from 49d9920 to 56b46a5 Compare July 17, 2020 09:17
Copy link
Contributor

@petersg83 petersg83 left a comment

Choose a reason for hiding this comment

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

Look nice, just a remark because we can remove even more code in the back :)

packages/strapi-admin/ee/controllers/role.js Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Jul 17, 2020

Codecov Report

❗ No coverage uploaded for pull request head (fix/ce-allow-role-name-edition@f4dfe8c). Click here to learn what that means.
The diff coverage is n/a.

@soupette soupette force-pushed the fix/ce-allow-role-name-edition branch from 56b46a5 to ec3147b Compare July 17, 2020 10:04
@petersg83
Copy link
Contributor

LGTM :)
Please wait for the review of @alexandrebodin I think he mights have an opinion on "develop:ce"

@petersg83 petersg83 self-requested a review July 17, 2020 10:06
Signed-off-by: soupette <cyril.lpz@gmail.com>
@soupette soupette force-pushed the fix/ce-allow-role-name-edition branch from ec3147b to 11afd28 Compare July 17, 2020 10:37
@alexandrebodin
Copy link
Member

I think we need to do sth in case we rename the Super Admin role, the error messages that say you need to have at least one super admin won't make much sense.

@JabStrapi
Copy link

You are right @alexandrebodin, in my opinion and for consistency matters, we should prevent only the Super Admin renaming from the Admin Panel (it would still be possible in DB).

@derrickmehaffy
Copy link
Member

I agree @JabStrapi

soupette and others added 3 commits July 20, 2020 10:10
Signed-off-by: soupette <cyril.lpz@gmail.com>
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
Signed-off-by: soupette <cyril.lpz@gmail.com>
@soupette soupette force-pushed the fix/ce-allow-role-name-edition branch from 71d9284 to 9ba69f6 Compare July 20, 2020 09:46
@alexandrebodin alexandrebodin merged commit 47de085 into features/rbac Jul 20, 2020
@alexandrebodin alexandrebodin deleted the fix/ce-allow-role-name-edition branch July 20, 2020 10:46
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

5 participants