code: @Override
      public boolean canViewPermission(IPerson currentUser, String target) {
  
          EntityIdentifier ei = currentUser.getEntityIdentifier();
          IAuthorizationPrincipal ap =
                  AuthorizationServiceFacade.instance().newPrincipal(ei.getKey(), ei.getType());
          return (ap.hasPermission(
                  IPermission.PORTAL_PERMISSIONS,
                  IPermission.VIEW_PERMISSIONS_ACTIVITY,
                  IPermission.ALL_TARGET));
      }
docs: /* (non-Javadoc)
  @see org.apereo.portal.portlets.permissionsadmin.IPermissionAdministrationHelper#canViewPermission(org.apereo.portal.security.IPerson, java.lang.String)