-
Notifications
You must be signed in to change notification settings - Fork 2
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
Show permissions for all modules and all roles by default #10
Comments
@olafgrabienski - this could be an improvement, though if you have more checkboxes than can be saved maybe not. I think for the majority of users, what you suggest would be an improvement. I was wondering also whether it should be auto-submit so you don't need to press 'filter permissions' button but it just updates as selections are changed. |
Thanks for your feedback! I guess I didn't understand what you mean by "if you have more checkboxes than can be saved maybe not". Btw, I tested the module coming from backdrop/backdrop-issues#5796, which asks to integrate Filter Permissions into Backdrop core. And I thought, if that happens, the default behavior should be more consistent with other filterable Backdrop pages. |
While one purpose of the module is pure usability, another is the ability to save permission forms if they have more checkboxes than can be saved. See the README:
I have an idea how to mitigate this (PR on the way) After further investigation, auto-submit won't work if the use case above is in play as the checkboxes would still be on screen. |
@olafgrabienski @bugfolder @stpaultim I've added a PR to change the default filters to be "All roles" and "All modules". I've also added a test to see if the form has too many checkboxes to save; if it does, a warning is displayed and the save button is hidden. This can be tested by reducing What do you think? |
@yorkshire-pudding Thanks for the helpful clarification, and for the PR! I like the approach shown in the screenshot (no time for testing at the moment), and I'm also curious what Robert and Tim think about it. |
I discussed with @stpaultim during office hours 19 today and he supports the change. Let's see what @bugfolder thinks |
Oh, for the record: WFM and LGTM. |
Confirmed. I think is a great improvement. |
With this module, the page
admin/config/people/permissions
doesn't show much information out of the box. I see the filters and I'm asked to »select at least one value from both the Roles and Modules select boxes above and then click the "Filter Permissions" button«. That's a lot! In my opinion it would be better to select 'All Roles' and 'All Modules' by default. What do others think about it?The text was updated successfully, but these errors were encountered: