No list of roles available
scor - January 26, 2007 - 10:45
| Project: | RoleAssign |
| Version: | 4.7.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | TBarregren |
| Status: | closed |
Jump to:
Description
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!).

#1
Thank 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,roleBandroleC.userA,userBanduserC.roleAtouserAonly.roleBandroleCon admin/settings/roleassign (the RoleAssign settings page)assign rolesandadminister usersforuserAon admin/accessroleBandroleCare 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.
#2
Since 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.
#3
I upgraded to drupal 5 and it's working fine...
thanks for this useful module!