Drupal Answers is a question and answer site for Drupal developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking at the DB but can't find where the permissions are stored.

On the Admin page the permissions can be saved at /admin/user/permissions

But where this data is saved in the DB?

share|improve this question
up vote 6 down vote accepted

Permissions are stored in the permission table.

The table stores a comma-separated list of permissions that are enabled for each role, by role ID, which links back to the role table.

The users_roles table makes the final link between users and the roles assigned to them.

share|improve this answer
    
Thank you for the perfect explanation! – Sona7 Feb 1 at 15:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.