Closed (fixed)
Project:
Role Delegation
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
15 Dec 2009 at 20:37 UTC
Updated:
8 Sep 2010 at 19:10 UTC
improvements:
- removed code duplication
- added "Delegate roles" action
| Comment | File | Size | Author |
|---|---|---|---|
| D7_port_role_delegation.patch | 14.41 KB | pasqualle |
Comments
Comment #1
pasqualle[edit: download link removed]
Comment #2
david lesieur commentedExcellent patch committed!
The new actions are a welcome addition.
Comment #4
sunComing 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.
Comment #5
pasqualle@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..
Comment #6
david lesieur commentedThe intended behavior works as described by Pasqualle in #5.