Download & Extend

Assignable Roles area not appearing in user edit page

Project:RoleAssign
Version:5.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

I've installed and adjusted access controls correctly, but no assignable roles menu appears on the user edit page. I narrowed my issue down to the following line in the roleassign_form_alter() function (~line 148):

// Do nothing if right form isn't shown.
if ($form_id != 'user_register' && ($form_id != 'user_edit' || !isset($form['account'])))
return;

In my case, it fails on this check because I'm on the 'user_edit' form page. Why would I need to also be on a form for 'user_register'??? Should this be changed to allow and OR rather than an AND:

if ($form_id != 'user_register' || ($form_id != 'user_edit' || !isset($form['account'])))

Please advise.

Comments

#1

More information:

I'm running Drupal 5.1, and the user info area where the password and user name are located does not show up for me on that edit user page as well. I double checked my content access setting and everything looks correct.

#2

Status:active» closed (won't fix)

The D5 version is not supported anymore.

nobody click here