Don't always show gateway-provider role
Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/0231c74a Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/0231c74a Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/0231c74a Branch: refs/heads/dreg-gateway Commit: 0231c74aae5c20454c2697b4fc1f179233f4b310 Parents: c40fa38 Author: Marcus Christie <machr...@iu.edu> Authored: Mon Jul 10 15:54:49 2017 -0500 Committer: Marcus Christie <machr...@iu.edu> Committed: Mon Jul 10 15:54:49 2017 -0500 ---------------------------------------------------------------------- app/libraries/CommonUtilities.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/0231c74a/app/libraries/CommonUtilities.php ---------------------------------------------------------------------- diff --git a/app/libraries/CommonUtilities.php b/app/libraries/CommonUtilities.php index 80a432d..525ec40 100644 --- a/app/libraries/CommonUtilities.php +++ b/app/libraries/CommonUtilities.php @@ -457,8 +457,7 @@ class CommonUtilities || $role == Config::get('pga_config.wsis.read-only-admin-role-name') || $role == Config::get('pga_config.wsis.user-role-name') || $role == Config::get('pga_config.wsis.initial-role-name') - || $role == 'user-pending' - || $role == 'gateway-provider'; + || $role == 'user-pending'; }); }