-1

Which directory contains the YAML file where user permissions per role are stored? I looked in the core.entity.yml and do not know where else to look.

1
  • 4
    1. drush cex. 2. Change a permission via UI. 3. drush cex again, then check what gets printed in the terminal and you will know.
    – leymannx
    Aug 28, 2018 at 19:23

1 Answer 1

4

They are stored in the user.role.ROLE_NAME.yml files with the rest of configuration exports.

10
  • what directory is that in ? can't seem to find it.
    – Diana
    Aug 28, 2018 at 17:43
  • The same as all the other configuration files that get exported? I don't know what you mean.
    – Kevin
    Aug 28, 2018 at 17:46
  • right I don't know what directory to look in . I tried /config and I do not see them there. I also looked in /docroot/core/config not there either
    – Diana
    Aug 28, 2018 at 17:51
  • Where are you exporting them to? Thats where you need to look.
    – Kevin
    Aug 28, 2018 at 17:54
  • @Kevin she probably means “where is the active config stored”, thinking that’s also in yml files. Diana, that information is in the database until you export it. Specifically in the config table, though you’ll probably also find it in config_snapshot and cache_config
    – Clive
    Aug 28, 2018 at 17:58

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