You are here

function tac_lite_user_categories in Taxonomy Access Control Lite 7

Implementation of hook_user_categories

Creates the user edit category form for tac_lite's user-specific permissions under user/edit

File

./tac_lite.module, line 358
Control access to site content based on taxonomy, roles and users.

Code

function tac_lite_user_categories() {
  return array(
    array(
      'name' => 'tac_lite',
      'title' => t('Access by taxonomy'),
      'weight' => 5,
      'access callback' => 'user_access',
      'access arguments' => array(
        'administer users',
      ),
    ),
  );
}