JohnAlbin’s picture

Title:Role based plugin» User role based plugin

Sounds great!

I assume you mean user role?

konordo’s picture

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

konordo’s picture

Status:Active» Needs work
new6.03 KB

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

jwilson3’s picture

Version:6.x-1.x-dev» 7.x-2.x-dev
Status:Needs work» Needs review
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.

JohnAlbin’s picture

Version:7.x-2.x-dev» 6.x-1.x-dev
Status:Needs review» Patch (to be ported)
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. :-)

Noe_’s picture

Issue summary:View changes

Shouldn't the status of this patch be "Fixed" because the d7 version of the module already includes this patch.

frob’s picture


Nope, this is a patch to be ported to D6. The issue is fixed for D7.