Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294231

Permissions export configuration and import configuration are used in config.routing.yml but not implemented

$
0
0

The permissions 'export configuration' and 'import configuration' are used in config.routing.yml but they are not implemented using hook_permission().

The only permission defined in config.module currently is 'synchronize configuration'. However, in the yml file config.routing.yml these 3 permissions are used:
'synchronize configuration'
'export configuration'
'import configuration'

The 'export configuration' permission is used for following callbacks:
admin/config/development/export
admin/config/development/export-download

The 'import configuration' permission is used for following callback:
admin/config/development/import

I think we should either:
1) add the 'export configuration' and 'import configuration' permissions to config.module, or
2) use the 'synchronize configuration' permission for both export and import menu callbacks (change in config.routing.yml)


Viewing all articles
Browse latest Browse all 294231

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>