diff --git a/web-ui/src/main/resources/catalog/components/common/share/ShareService.js b/web-ui/src/main/resources/catalog/components/common/share/ShareService.js
index 71e04f161f2..0b7fed29f80 100644
--- a/web-ui/src/main/resources/catalog/components/common/share/ShareService.js
+++ b/web-ui/src/main/resources/catalog/components/common/share/ShareService.js
@@ -247,7 +247,7 @@
var allowed =
!g.restricted &&
(($.inArray(g.group, gnShareConstants.internalGroups) !== -1 &&
- user.isReviewerOrMore()) ||
+ user.isReviewerOrMore()) ||
$.inArray(g.group, gnShareConstants.internalGroups) === -1);
if (allowed) {
diff --git a/web-ui/src/main/resources/catalog/templates/admin/usergroup/groups.html b/web-ui/src/main/resources/catalog/templates/admin/usergroup/groups.html
index 78a4f7f90a0..602b99728a8 100644
--- a/web-ui/src/main/resources/catalog/templates/admin/usergroup/groups.html
+++ b/web-ui/src/main/resources/catalog/templates/admin/usergroup/groups.html
@@ -263,7 +263,7 @@
data-ng-class="gnGroupEdit.minimumProfileForPrivileges.$error.minimumProfileForPrivileges ? 'has-error' : ''"
>
minimumProfileForPrivileges