Skip to content

Commit

Permalink
one more update for unassignAllMembers authorization
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Jun 19, 2018
1 parent 74af785 commit 3a943f7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
Expand Up @@ -254,9 +254,4 @@ public boolean isOwner() {
}
}

@Override
protected boolean isAuthorizedToUnassignAllMembers(){
return true;
}

}
Expand Up @@ -439,11 +439,6 @@ protected ObjectQuery createDirectMemberQuery(List<QName> relations) {
}
}

@Override
protected boolean isAuthorizedToUnassignAllMembers(){
return WebComponentUtil.isAuthorized(AuthorizationConstants.AUTZ_UI_ADMIN_UNASSIGN_ALL_MEMBERS_TAB_ACTION_URI);
}

@Override
protected List<QName> getNewMemberSupportedTypes(){
return WebComponentUtil.createFocusTypeList();
Expand Down
Expand Up @@ -276,7 +276,7 @@ protected boolean isAuthorizedToUnassignMembers(){
}

protected boolean isAuthorizedToUnassignAllMembers(){
return true;
return WebComponentUtil.isAuthorized(AuthorizationConstants.AUTZ_UI_ADMIN_UNASSIGN_ALL_MEMBERS_TAB_ACTION_URI);
}

protected boolean isAuthorizedToDeleteMembers(){
Expand Down

0 comments on commit 3a943f7

Please sign in to comment.