Whoops

Events happening in the community are now at Drupal community events on www.drupal.org.
scimmy's picture

Dylans tip for making feeds viewable was spot-on so I added a few more feeds successfully. In the process of doing that I have somehow locked myself out of administer settings?!? When I login it treats me as any other user and I dont see the admin menu set. Oh well, I have to go to work anyway! Any tips to give me back my power of admin would be greatly appreciated. Thanks, TS

Comments

Hopefully you have DB access

nielsonm's picture

You'll need to be able to access the permissions page. which in d6 is /admin/user/permissions. You'll need access to your database, once in, export it so if the whole thing goes nuclear, you have a backup. Then execute this SQL statement:

UPDATE permission SET perm = 'administer permissions, administer users' WHERE rid = 4

The statement gives anyone with the 4th role access to /admin/user/permissions and /admin/user/user. Check and see if you can access /admin/user/permissions, if not decrease or increase the number. Make note that rid 0 is anonymous users so avoid that if the site's in production.

nielsonm

Portland (Oregon)

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: