Port to D7

Pasqualle - December 15, 2009 - 20:37
Project:Role Delegation
Version:7.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

improvements:
- removed code duplication
- added "Delegate roles" action

AttachmentSize
D7_port_role_delegation.patch14.41 KB

#1

Pasqualle - January 3, 2010 - 00:15

[edit: download link removed]

#2

David Lesieur - December 31, 2009 - 03:48
Status:needs review» fixed

Excellent patch committed!
The new actions are a welcome addition.

#3

System Message - January 17, 2010 - 00:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

#4

sun - January 24, 2010 - 00:21
Title:D7 port of role_delegation» Port to D7
Version:6.x-1.x-dev» 7.x-1.x-dev
Status:closed» active

Coming from http://www.bywombats.com/blog/01-23-2010/delegating-role-delegation#comm...

Sorry, but no :)

Looking at the current CVS HEAD... http://drupalcode.org/viewvc/drupal/contributions/modules/role_delegatio...

...the code is still using the workaround of a separate page.

In #118345: Revamp hook_user_form/_register/_validate/_submit/_insert/_update, I made sure that modules like Role Delegation can easily alter the user account form and apply the changes directly, instead of using a separate page.

#5

Pasqualle - February 3, 2010 - 23:31
Status:active» postponed (maintainer needs more info)

@sun: the user account form is altered and changes applied directly (in hook_user_presave), the separate page is used only when the user do not have the 'access user profiles' permission..

 
 

Drupal is a registered trademark of Dries Buytaert.