Comments

Title:Role based pluginUser role based plugin

Sounds great!

I assume you mean user role?

Patch attached. This plugin allows menu visibility to the specified roles.

Status:Active» Needs work
StatusFileSize
new6.03 KB

Sorry, wrong file. Here is the patch for 6.x

Version:6.x-1.x-dev» 7.x-2.x-dev
Status:Needs work» Needs review
StatusFileSize
new6.68 KB

The patch in #3 contains \r\n line endings in the javascript file, and hence was unable to apply using git apply (on a mac, anyway).

I've cleaned that issue up, and updated the patch for Drupal 7.

UPDATE: for what its worth, the code is exactly the same between both D6 and D7, so a backport should be trivial based on this one patch.

Version:7.x-2.x-dev» 6.x-1.x-dev
Status:Needs review» Patch (to be ported)
StatusFileSize
new5.13 KB

I did some minor cleanup (including fixing the js). Here's the patch I committed.

Thanks! You're in the committers list now. :-) http://drupal.org/node/948986/committers