Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Role based plugin, so that the menu context can be set based on role.
Comment | File | Size | Author |
---|---|---|---|
#5 | 1157564-5-user-role-plugin.patch | 5.13 KB | JohnAlbin |
#4 | menu_position-user-roles-plugin-1157564-4.patch | 6.68 KB | jwilson3 |
#3 | menu_position-user_roles_plugin-1157564-2.patch | 6.03 KB | konordo |
#2 | menu_position-user_roles_plugin-1157564-1.patch | 6.08 KB | konordo |
Comments
Comment #1
JohnAlbinSounds great!
I assume you mean user role?
Comment #2
konordo CreditAttribution: konordo commentedPatch attached. This plugin allows menu visibility to the specified roles.
Comment #3
konordo CreditAttribution: konordo commentedSorry, wrong file. Here is the patch for 6.x
Comment #4
jwilson3The 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.
Comment #5
JohnAlbinI 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
Comment #6
Noe_ CreditAttribution: Noe_ commentedShouldn't the status of this patch be "Fixed" because the d7 version of the module already includes this patch.
Comment #7
frob@Noe_
Nope, this is a patch to be ported to D6. The issue is fixed for D7.
Comment #8
BarisW CreditAttribution: BarisW as a volunteer and at LimoenGroen commentedSince D6 is not being updated anymore, I decided to cleanup the issue queue by closing all D6 issues.
Comment #9
frobAllow me to switch this to the more accurate Fixed status. This issue was fixed for D7 and then was going to be ported to D6. If all of D6 is closed now, then this issues should simply be fixed.