Skip to content

Commit

Permalink
EZOrder now checks "owshop / setstatus" permission instead of origina…
Browse files Browse the repository at this point in the history
…l "shop / setstatus" access right.
  • Loading branch information
Franck Grenier committed Jun 26, 2015
1 parent ff46734 commit b486a27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/ezorder.php
Expand Up @@ -1182,7 +1182,7 @@ function canModifyStatus( $statusID, $user = false )
return false;
}

$accessResult = $user->hasAccessTo( 'shop' , 'setstatus' );
$accessResult = $user->hasAccessTo( 'owshop' , 'setstatus' );
$accessWord = $accessResult['accessWord'];
$access = false;

Expand Down Expand Up @@ -1238,7 +1238,7 @@ function statusModificationList( $user = false )
return false;
}

$accessResult = $user->hasAccessTo( 'shop' , 'setstatus' );
$accessResult = $user->hasAccessTo( 'owshop' , 'setstatus' );
$accessWord = $accessResult['accessWord'];
$access = false;

Expand Down

0 comments on commit b486a27

Please sign in to comment.