Hi

This module is great! I like it really much.
And I have one good feature request for it.

It is IMHO really needed to have stored somewhere in db which user delegates which role to who (and when)
When I would need to find who assign some role to some user, this will be how to I could find.

Thanks for your module
Igor
http://www.somvprahe.sk

Comments

David Lesieur’s picture

Do you mean a kind of log of role assignments?

This would be a nice addition. However, I'm not sure it really belongs to Role Delegation, since other modules can assign roles, including the core user module and Role Assign. Such a log could be useful to all those modules, so ideally we'd want something that any module could plug into.

Perhaps we could just use the watchdog (greatly improved in Drupal 6), but it would not completely satisfy your request...

igorik’s picture

hi

My idea is that, if I let some of my users to delegate role "trusted" and "dumb user", I must to have option find if someone somewhere did mistake(or something personally) if I found that some user was not suitable to get role "dumb" or "trusted".
Then I can (based on this log) notify to user who make a mistake.
So watchdog is not very suitable thing for it, because I can need to find something from weeks/months ago.

Admin would to have complete information about all role delegations.

Igorik
http://www.somvprahe.sk

David Lesieur’s picture

Title: details who delgate which role to who » Keep track of who assigned which role to whom

Thanks for the clarifications! I think this could make a nice new module into which Role Delegation could plug into...

sun’s picture

Status: Active » Closed (won't fix)

I do not agree here. Role Delegation's scope is well defined, and this feature would add unnecessary cruft to the code, because this is a completely different task. Remember that any module in contrib could implement such a feature by form_altering an additional submit handler into core's and Role Delegation's forms.

That said, our goal should be to make this module really slick - for a potential merge into Drupal core.

Hence, marking as won't fix.