Closed (fixed)
Project:
Role Weights
Version:
master
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
4 Oct 2006 at 12:49 UTC
Updated:
30 Mar 2007 at 14:01 UTC
Jump to comment: Most recent file
A todo.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | role_weights_to_drupal5_r4.patch | 5.03 KB | nedjo |
| #3 | role_weights_to_drupal5_r3.patch | 3.94 KB | pfaocle |
| #2 | role_weights_to_drupal5_r2.patch | 1.85 KB | pfaocle |
| #1 | role_weights_to_drupal5_noforms.patch | 2.96 KB | pfaocle |
Comments
Comment #1
pfaoclePatch with simple changes. I've not had time to look through or test any of the forms/form_alter stuff yet.
Comment #2
pfaocleOK, the uninstall hook is in, so here's a simplified patch for a 5.0 update.
This patch has 2-3 notes for me to test/look at tomorrow. Untested.
Comment #3
pfaocleA bit more. Still a bit wonky - the main issue is that we're now locked out of editing the two default roles in user.module, lines 1888-1893:
So just retheming user_admin_new_role() to include the edit links isn't going to cut it.
Comment #4
pfaocleJust for reference - issue/patch for the locked roles editing.
Comment #5
nedjoYes, it's too bad that patch went in without us noticing!
Here's an updated patch with a fix. We avoid the
drupal_goto()by shifting the rid values down by two. Then we shift them back up to get them right again. It's tricky, but I guess it works.Comment #6
pfaocleYes, it's too bad that patch went in without us noticing!
Er, yeah. Ahem ;)
Will be able to take a look at this patch tomorrow - cheers nedjo!
Comment #7
pfaocleCommitted this to HEAD. Testing appreciated now - will tag for DRUPAL-5 soon.
Comment #8
(not verified) commented