diff options
author | prashantsinalkar | 2017-03-16 10:29:38 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-03-16 10:29:38 +0530 |
commit | 5f512b481f235112ef113905feb3122bde65ae57 (patch) | |
tree | 637d9878a0f83928d76505433e62a4361c4c3c6d /abstract_bulk_approval.inc | |
parent | 7cd6f18f8ab708af8b0739d20349b16f410ded17 (diff) | |
download | dwsim_flowsheet-5f512b481f235112ef113905feb3122bde65ae57.tar.gz dwsim_flowsheet-5f512b481f235112ef113905feb3122bde65ae57.tar.bz2 dwsim_flowsheet-5f512b481f235112ef113905feb3122bde65ae57.zip |
fixed permission issues
Diffstat (limited to 'abstract_bulk_approval.inc')
-rwxr-xr-x | abstract_bulk_approval.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/abstract_bulk_approval.inc b/abstract_bulk_approval.inc index 1362fee..678d9fa 100755 --- a/abstract_bulk_approval.inc +++ b/abstract_bulk_approval.inc @@ -96,7 +96,7 @@ function dwsim_flowsheet_abstract_bulk_approval_form_submit($form, &$form_state) { if ($form_state['values']['flowsheet_project']) // dwsim_flowsheet_abstract_del_lab_pdf($form_state['values']['flowsheet_project']); - if (user_access('flowsheet project bulk manage code')) + if (user_access('dwsim flowsheet bulk manage abstract')) { $query = db_select('dwsim_flowsheet_proposal'); $query->fields('dwsim_flowsheet_proposal'); @@ -236,7 +236,7 @@ FOSSEE,IIT Bombay', array( drupal_set_message("Please mention the reason for disapproval. Minimum 30 character required", 'error'); return; } //strlen(trim($form_state['values']['message'])) <= 30 - if (!user_access('flowsheet bulk delete code')) + if (!user_access('dwsim flowsheet bulk delete abstract')) { drupal_set_message(t('You do not have permission to Bulk Dis-Approved and Deleted Entire Lab.'), 'error'); return; |