-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
Add button to copy permissions from a existing role #9842
Conversation
Codecov Report
@@ Coverage Diff @@
## master #9842 +/- ##
==========================================
- Coverage 35.88% 35.80% -0.09%
==========================================
Files 1342 1348 +6
Lines 14808 14854 +46
Branches 1476 1478 +2
==========================================
+ Hits 5314 5318 +4
- Misses 8575 8616 +41
- Partials 919 920 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
This is really neat! Thank you for the PR! |
Thank you for your contribution, we will review it soon |
Hello @iicdii In order to review the PR could you give us more context about your need, please?
On a side note, have you considered using the same duplicate system as in RBAC? That will help us a lot! |
Hello @sam-pires!
|
Close since v4 is out, it needs rework |
What does it do?
I added a dropdown button to permission section to copy permission from a existing role.
copy-a-role.mp4
Why is it needed?
Each time you create new role, you need to set permissions all over again and it's annoying.
you can copy permissions from a existing role with one click, It reduces amount of time to click checkboxes.
Describe the issue you are solving.
How to test it?
.../admin/settings/users-permissions/roles/{id}
page