Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
A simple module to clear all the site caches. This module has its own permission setting so that certain users, based on role, may clear the cache without needing access to the full Site Configuration or Site Performance settings. This is useful for "semi-admin" users such as content editors.
Sandbox project URL: http://drupal.org/sandbox/quinns/1097888
Comments
Comment #1
quinns CreditAttribution: quinns commentedComment #2
quinns CreditAttribution: quinns commentedAny idea when I might be able to have this reviewed? This is my first module submission so I do apologize if I did not follow the steps correctly.
Comment #3
mermentau CreditAttribution: mermentau commentedFrom what I see it's going to be a while. I have one in the process too so have been watching the process. Looks like the list is growing way faster than the review process is.
Comment #4
RobLoachThe Admin Menu and Devel provide much of the same functionality. You might want to get in touch with the issue queue for those modules and see if you can add any functionality that your module has and is missing in those modules and add it in there?
Other then that, nicely done :-) .
Comment #5
gregglesYou have:
package = Caching
In your info file. Packages only make sense if a site is likely to have at least 4 items in the package. I don't think caching is a popular enough idea to have that as a package.
That would be better as:
There's one other potential issue I'm discussing and will report back on shortly. If I don't get back to this in a week please contact me.
Comment #6
tim.plunkettClosing, feel free to re-open if this was a mistake.
Comment #7
gregglesThe other issue was about clearing the cache without any csrf protection. It seems that this is not a well decided situation but at least it should be documented that it doesn't have csrf protection and is open to abuse (i.e. that the module is best installed only on dev sites).