function og_vocab_perm in OG Vocabulary 6
Implementation of hook_perm().
File
- ./
og_vocab.module, line 109 - Give each group its own system controlled vocabularies.
Code
function og_vocab_perm() {
$perm = array(
'administer own group vocabulary',
'add own group vocabulary',
'edit own group vocabulary',
'edit own group term',
);
if (module_exists('services')) {
$perm[] = 'access og_vocab service';
}
return $perm;
}