Hi to all!
Finally I found a way (this module!) to prevent my site users making "DAMAGE" with the "Split Summary Button"... (the most un-userfriendly Drupal option!). Thanks a lot!
I would like to ask for a feature for "per role" control of module's settings, leaving the ADMIN the possibility to see the all the "hidden" fields or butttons (naturally, if he/she want!).
Thanks, bye!
;)
Comments
Comment #1
lelizondo commentedI'm not 100% convinced about this, I think the module would be so complicated, I'll think about it but I don't promise anything. I accept patches though.
Comment #2
Dret commentedYou could make a more simple solution, considering only two categories of users: ADMIN and NON-ADMIN...
Bye!
Comment #3
flaviovs commentedFrom all features of this module, I think that only the "Split Summary Button" setting is an actual candidate to have a "per role" option. That's because admins usually want to prevent their users from breaking their sites, though they also usually want someone with some privileges to be able to edit and set the node teaser. Currently, it's not possible to set/edit the teaser on a content type where the split button is disables, which is bad.
What about adding an option to show the split button to users having some permissions? I mean, something like:
Then you can just add an additional check for
user_access('administer_nodes')to tell if the split button should be shown or not.Comment #4
lelizondo commentedThat could work.
Comment #5
capellicGreat module idea -- I'm doing exactly what you were doing -- turning things off through hook_form_alter and CSS. I was about to remove my hacks and go with this module, but realized that my home-grown overrides have the advantage of having things "on" for the "admin" role but off for the "editor" role. (To be clear, these are roles that I have created.)
So I'll second the request for a "per role" option.
I really think that this module should be a part of Drupal core as it would greatly help usability.
Comment #6
lelizondo commentedI'll start working on this based on the idea posted on #3