is there a quick and dirty hack available from the gods of Drupal to selectively apply abuse/watchlist by role? :-)

thinking aloud: maybe just by adding another permission for this?

thanks for any advice.

Comments

buzzman’s picture

plz read the above request as "selectively apply Watchlist by role?" instead of "selectively apply abuse/watchlist by role?"

Second Level of "selectively enable ONLY the watchlist module on available ROLES" feature:

- have separate Watchlist word lists for each role to which Watchlist is applied via permissions as outlined by me above in the feature request.

- i'm thinking like so:

#. display in admin Watchlist_Settings, a list of checkboxes (a checkbox for each available ROLE) in each of the Options:

* Test out watchlist word settings
* Watchlist word settings
* Filtered/banned word settings
* Enable moderation from the watchlist and banned list for these content types
* Enable pre-moderation from the watchlist and banned list for these content types

#. on ticking a checkbox, use JS to slide open a corresponding input textarea (like the single textarea currently) where a unique list of bad words can be listed for applying to the selected ROLE.

thanks.

buzzman’s picture

Title: quick and dirty hack to selectively apply abuse/watchlist by role? » quick and dirty hack to selectively enable ONLY Watchlist module on available ROLES?

EDIT (to clarify):

- a feature to enable ONLY Watchlist module SELECTIVELY on some or all ROLES (from list of existing ROLES in the system).

- if enabled for a ROLE, Watchlist applies filtering (starring out bad words) on selected content_types (in admin Watchlist_Settings "Enable moderation from the watchlist and banned list for these content types") AND also filtering Node_Title for each of these content_types (starring out bad words in Node_Title does not work now) that have been posted by users belonging to the enabled ROLE.

- by default, when Watchlist is not enabled for the rest of the ROLES in the system, it should totally SKIP filtering ALL content_types posted by users from each of those other ROLES.

- imo, going by current code it should be easy to enable Watchlist per ROLE actication by deploying permissions. but, it may be a bit tricky to have different Watchlist wordlists implemented for each ROLE.

i changed the title appropriately to better reflect the request. sorry about multiple edits - I really wanted to pin down the exact feature.

buzzman’s picture

anyone ... ? bump ...