Skip to content
Snippets Groups Projects
Commit 6946a89d authored by Peter Rotich's avatar Peter Rotich
Browse files

roles : Implement role-based access system-wide

parent b1558ed0
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ if($_POST && !$errors):
//More coffee please.
$errors=array();
$lock=$ticket->getLock(); //Ticket lock if any
$role = $thisstaff->getRole($ticket->getDeptId);
$role = $thisstaff->getRole($ticket->getDeptId());
switch(strtolower($_POST['a'])):
case 'reply':
if(!$role || !$role->canPostReply())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment