Setting permission roles for 'default' input filter
One of the things that have annoyed me for quite some time was Input filters. Anyone working with Drupal 5 and 6 knows that there is no way of assigning roles to any Input Filters that has been set as 'default'.
There have been many times that setting HTML Filter as default was very useful for end-users if they needed more than just to update text on the site (ie, applying many formatting to text). However, this poses a security problem such as Cross Site Scripting (XSS) attack if we were to allow anyone to input all sorts of tags.
So what do we do? well, there is a module that just simply takes care of this issue and it's actually been around for quite some time now, god knows how i have missed this all that time???
The module is called Better Formats and allows the admin to set roles to any Input Formats including the one you set as default. It's available for Drupal 6 only, however there are older and much simplified versions for Drupal 5. Here's one Filter Default. I tell you, this developer dragonwize rocks big time.
So for those like myself that didn't know such a module existed, be sure to now include this to your must-have/can't live without modules list.
You wouldn't need this for Drupal 7 as work is underway to built in a similar feature. :-)






Comments
Glad you like it
I am glad you like it Duvien. There will be more added in upcoming versions. I try to keep a well kept issue queue so just drop a message if you have any trouble.
Add new comment