You are here

function simplesamlphp_auth_permission in simpleSAMLphp Authentication 7.3

Same name and namespace in other branches
  1. 7 simplesamlphp_auth.module \simplesamlphp_auth_permission()
  2. 7.2 simplesamlphp_auth.module \simplesamlphp_auth_permission()

Implements hook_permission().

File

./simplesamlphp_auth.module, line 111
simpleSAMLphp authentication module for Drupal.

Code

function simplesamlphp_auth_permission() {
  return array(
    'administer simpleSAMLphp authentication' => array(
      'title' => t('Administer simpleSAMLphp authentication'),
      'restrict access' => TRUE,
    ),
    'change saml authentication setting' => array(
      'title' => t('Change SAML authentication setting for individual accounts'),
      'description' => t('Allow users to enable or disable SAML authentication per user on user edit forms.'),
      'restrict access' => TRUE,
    ),
  );
}