Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I think this a great module and this feature should be in the core of drupal.
First, I noticed a minor mistake in the code :
'#value' => '<p>No assignable roles <b>avaiable.</b> You have to ' . l(t('create roles'), 'admin/access/roles') . ' that can be assigned.</p>'
More importantly, there is no list of roles displayed, the only things I see is
Assignable roles:
The user receives the combined permissions of all roles selected here and following roles: authenticated user.
I'm running drupal 4.7.3 and if I check 'administer access control' instead of 'assign roles', the list of roles reappear as expected (+ the unwanted access control link in the menu of course!).
Comments
Comment #1
TBarregren CreditAttribution: TBarregren commentedThank you for your bug report and your kind words.
I can confirm the first issue. I have missed t() around
"<p>No assignable roles available. You have to ..."
But I cannot reproduce the second issue. RoleAssign works as expected for me. Could you provide me with detailed information on how to reproduce the result you are reporting. This is what I did:
roleA
,roleB
androleC
.userA
,userB
anduserC
.roleA
touserA
only.roleB
androleC
on admin/settings/roleassign (the RoleAssign settings page)assign roles
andadminister users
foruserA
on admin/accessroleB
androleC
are shown up as expected on user/2/edit and user/3/edit.Interesting enough, when I tried to reproduce your reported result, I found a bug, or more a glitch, in the user module. See issue #113055.
Comment #2
TBarregren CreditAttribution: TBarregren commentedSince I haven't got any further details, I assume this is not a problem anymore. I therefore close the issue. Don't hesitate to reopen it if necessary.
Comment #3
scor CreditAttribution: scor commentedI upgraded to drupal 5 and it's working fine...
thanks for this useful module!