Closed (fixed)
Project:
RoleAssign
Version:
4.7.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
26 Jan 2007 at 10:45 UTC
Updated:
1 Mar 2007 at 10:00 UTC
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 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,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.
Comment #2
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 commentedI upgraded to drupal 5 and it's working fine...
thanks for this useful module!