diff --git a/src/org/labkey/trialshare/ITNSpecimenRequestCustomizer.java b/src/org/labkey/trialshare/ITNSpecimenRequestCustomizer.java index 036ea73..e342c72 100644 --- a/src/org/labkey/trialshare/ITNSpecimenRequestCustomizer.java +++ b/src/org/labkey/trialshare/ITNSpecimenRequestCustomizer.java @@ -43,7 +43,7 @@ public boolean canChangeStatus(User user) Group specimenRequestAdmins = GroupManager.getGroup(ContainerManager.getRoot(), "Specimen Request Administrators", GroupEnumType.SITE); if (specimenRequestAdmins != null) { - return user.isInSiteAdminGroup() || user.isInGroup(specimenRequestAdmins.getUserId()); + return user.hasSiteAdminPermission() || user.isInGroup(specimenRequestAdmins.getUserId()); } LOG.error("Unable to find site group \"Specimen Request Administrators\", allowing user to update specimen request status"); return true;