Cannot give another user Site Administrator Role

ozyank - December 14, 2007 - 08:38

After an uneventful install, I tried to give site administrator role to a user who is not admin. I tick the box on the user edit page and submit it. I get a successful save message however the user is not given site administrator privileges. I then edit the user and see that the box remains unticked.

query

lelizondob - December 14, 2007 - 09:48

try doing a query for the users table. Mine shows a blank record and the admin record (blank starts with 0 on uid).

hope it helps

Luis

users_roles table not being updated

ozyank - December 16, 2007 - 03:51

I took a look at the users_roles table. When the Site Administrator box is ticked, this table should receive a record but it is not. By manually adding the record I made the user a site administrator. This seems to be a bug.

{users_roles} table mystery

madjoe - April 5, 2008 - 21:35

Confirmed. I've spotted the exact same problem.

I've noticed that the table {users_roles} was empty, and after I manually inserted all the necessary rows, every time a user tries to submit changes to his own profile data, his row in {users_roles} table mysteriously disappears.

If the administrator tries to add any user into a certain role by using Drupal's GUI, nothing changes in {users_roles} - the record will not be added into the table.

--
www.jazzit.hr

Misuse of a User Karma module?

madjoe - April 8, 2008 - 00:23

If you use a User Karma module, it's possible that you made a human error, just like me... I have accidentally chosen an "admin role" within roles eligible for user karma only. It's not a bug! My case is closed.

--
www.jazzit.hr

 
 

Drupal is a registered trademark of Dries Buytaert.