You are here

function clone_perm in Node clone 6

Same name and namespace in other branches
  1. 5.2 clone.module \clone_perm()
  2. 5 clone.module \clone_perm()

Implementation of hook_perm().

File

./clone.module, line 27
Allow users to make a copy of an item of content (a node) and then edit that copy.

Code

function clone_perm() {
  return array(
    'clone node',
    'clone own nodes',
  );
}