| 1 |
<?php |
<?php |
| 2 |
// $Id: stormorganization.module,v 1.11.4.25 2009/05/09 09:11:26 magnity Exp $ |
// $Id: stormorganization.module,v 1.11.4.26 2009/05/09 09:35:22 magnity Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 19 |
|
|
| 20 |
function stormorganization_perm() { |
function stormorganization_perm() { |
| 21 |
return array( |
return array( |
| 22 |
'Storm organization: access', |
'Storm organization: access', |
| 23 |
'Storm organization: add', |
'Storm organization: add', |
| 24 |
'Storm organization: delete all', |
'Storm organization: delete all', |
| 25 |
'Storm organization: delete own', |
'Storm organization: delete own', |
| 26 |
'Storm organization: edit all', |
'Storm organization: edit all', |
| 27 |
'Storm organization: edit own', |
'Storm organization: edit own', |
| 28 |
'Storm organization: edit belonged', |
'Storm organization: edit belonged', |
| 29 |
'Storm organization: view all', |
'Storm organization: view all', |
| 30 |
'Storm organization: view own', |
'Storm organization: view own', |
| 31 |
'Storm organization: view belonged', |
'Storm organization: view belonged', |
| 32 |
'Storm organization: associate user' |
'Storm organization: associate user' |
| 33 |
); |
); |
| 34 |
} |
} |
| 35 |
|
|
| 36 |
function stormorganization_access($op, $node, $account = NULL) { |
function stormorganization_access($op, $node, $account = NULL) { |