You are here

function workspace_permission in Workspace 7

Implements hook_perm().

File

./workspace.module, line 168
Presents a user-centric view of content.

Code

function workspace_permission() {
  return array(
    'administer workspaces' => array(
      'title' => t('Administer Workspaces'),
      'description' => t('Access the Workspace administration pages.'),
    ),
    'access workspace' => array(
      'title' => t('Access Workspace'),
      'description' => t('Allow users to access their own Workspace.'),
    ),
    'administer own workspace' => array(
      'title' => t('Administer own Workspace'),
      'description' => t('Allow users to configure their own Workspace.'),
    ),
    'view all workspaces' => array(
      'title' => t('View all Workspaces'),
      'description' => t('Allow an administer to view all Workspaces'),
    ),
  );
}