docs: public Set<IPersonAttributesGroupDefinition> getPagsDefinitions(IPerson person) {
          Set<IPersonAttributesGroupDefinition> rslt = new HashSet<>();
          for (IPersonAttributesGroupDefinition def :
                  pagsGroupDefDao.getPersonAttributesGroupDefinitions()) {
              if (hasPermission(
                      person,
                      IPermission.VIEW_GROUP_ACTIVITY,
                      def.getCompositeEntityIdentifierForGroup().getKey())) {
                  rslt.add(def);
              }
          }
          logger.debug("Returning PAGS definitions '{}' for user '{}'", rslt, person.getUserName());
          return rslt;
      }