You are here

function biblio_perm in Bibliography Module 6.2

Same name and namespace in other branches
  1. 5 biblio.module \biblio_perm()
  2. 6 biblio.module \biblio_perm()

Implements of hook_perm().

Since we are restricting users in various ways when they wish to create, view, update and/or delete biblio content, we need to define what those permissions are here.

File

./biblio.module, line 551
Main file for Drupal module biblio.

Code

function biblio_perm() {
  return array(
    'administer biblio',
    'access biblio content',
    'create biblio',
    'edit all biblio entries',
    'edit own biblio entries',
    'edit biblio authors',
    'import from file',
    'show export links',
    'show download links',
    'show own download links',
    'show filter tab',
    'show sort links',
    'view full text',
  );
}