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 Answer
They are stored in the user.role.ROLE_NAME.yml
files with the rest of configuration exports.
-
-
The same as all the other configuration files that get exported? I don't know what you mean.– KevinAug 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– DianaAug 28, 2018 at 17:51
-
-
@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 inconfig_snapshot
andcache_config
– Clive ♦Aug 28, 2018 at 17:58
drush cex
. 2. Change a permission via UI. 3.drush cex
again, then check what gets printed in the terminal and you will know.