Closed (fixed)
Project:
Role help
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
5 Apr 2012 at 15:38 UTC
Updated:
4 Feb 2014 at 12:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
a_lawry commentedInitial drupal 7 port attached.
Comment #2
joachim commentedThat's brilliant, thanks!
The output doesn't work yet due to the theme functions needing changing too, but this is a great start.
I've committed the whitespace and code style fixes to both branches as a preliminary patch, and then the rest as the start of a D7 branch.
Few tweaks I've made:
- 'project' shouldn't be used in the .info file
- hook_uninstall can go completely now it's empty
Follow-ons:
- theme system changes
- clean up _role_help_menu_access(). I've no idea why I had two queries in the 6.x branch! Also, we can grant access for authenticated users without doing the query to check for anon users, which is a small performance saving. And I'm suspicious of that ->fetchObject() query result.
- I'm pretty sure that checking $form_state['values']['op'] to know which button was pressed is really definitely deprecated on D7.
Comment #3
geodaniel commentedI've just tested out the D7 branch from Git and it looks to work as advertised.
It'd be good to list this as at least a dev release on the module homepage.
Comment #4
joachim commentedGood point. Done.
I've also marked this as needing a new maintainer, as it's completely dropped off my radar! Should anyone be interested, please file a new issue to request access :)
Comment #5
geodaniel commentedGreat, thanks. I'm just working through some fixes on the 7 branch at the moment, and will post a patch when finished.
Comment #6
geodaniel commentedComment #7
geodaniel commentedThe attached patch fixes up some remaining issues I spotted in the Drupal 7 port:
Comment #8
joachim commentedLooks good on a quick eyeball review, but I'd recommend making those changes as several commits so it's clearer what's changed.
Comment #9
geodaniel commentedI've separated these all out into different issues to make it a bit clearer what's going on.