You are here

function config_perms_update_7202 in Custom Permissions 7.2

Add the administer account settings permission.

File

./config_perms.install, line 184
Installation file

Code

function config_perms_update_7202() {
  if (!array_key_exists('administer account settings', config_perms_perms())) {
    config_perms_save(array(
      'name' => 'administer account settings',
      'path' => array(
        'admin/config/people/accounts',
      ),
      'status' => 1,
    ));
  }
}