You are here

constant CAS_ROLES_DRUPAL_ROLES_ONLY in CAS roles 6

Same name and namespace in other branches
  1. 8 cas_roles.module \CAS_ROLES_DRUPAL_ROLES_ONLY
  2. 7 cas_roles.module \CAS_ROLES_DRUPAL_ROLES_ONLY

Only assign roles which are present in drupal and match, remove user roles not present in CAS.

2 uses of CAS_ROLES_DRUPAL_ROLES_ONLY
cas_roles_admin_settings in ./cas_roles.admin.inc
Administrative settings form.
cas_roles_cas_user_presave in ./cas_roles.module
Implements hook_cas_user_presave().

File

./cas_roles.module, line 14
Allows user account and profile attributes to be automatically populated using tokens. Provides basic tokens for attributes returned by the CAS server.

Code

define('CAS_ROLES_DRUPAL_ROLES_ONLY', 0);