Skip to content

Commit

Permalink
Merge Space Public Site - Meeds-io/MIPs#151 (#659)
Browse files Browse the repository at this point in the history
  • Loading branch information
boubaker authored Oct 7, 2024
2 parents b5124aa + f3c8f39 commit 098e370
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import org.exoplatform.services.log.ExoLogger;
import org.exoplatform.services.log.Log;
import org.exoplatform.services.rest.resource.ResourceContainer;
import org.exoplatform.services.security.ConversationState;

/**
* @author <a href="mailto:[email protected]">Anouar
Expand Down Expand Up @@ -72,7 +73,7 @@ public Response getPlatformInformation() {
String plfProfile = ExoContainer.getProfiles().toString().trim();
String runningProfile = plfProfile.substring(1, plfProfile.length() - 1);
JsonPlatformInfo jsonPlatformInfo = new JsonPlatformInfo();
if (userACL.isUserInGroup(userACL.getAdminGroups())) {
if (userACL.isAdministrator(ConversationState.getCurrent().getIdentity())) {
jsonPlatformInfo.setPlatformVersion(platformInformations.getVersion());
jsonPlatformInfo.setPlatformBuildNumber(platformInformations.getBuildNumber());
jsonPlatformInfo.setPlatformRevision(platformInformations.getRevision());
Expand Down

0 comments on commit 098e370

Please sign in to comment.