docs: public static List<String> getAllAuthorities() {
          final List<String> allPermissions = new ArrayList<>();
          final Field[] declaredFields = SpPermission.class.getDeclaredFields();
          for (final Field field : declaredFields) {
              if (Modifier.isPublic(field.getModifiers()) && Modifier.isStatic(field.getModifiers())) {
                  field.setAccessible(true);
                  try {
                      final String role = (String) field.get(null);
                      allPermissions.add(role);
                  } catch (final IllegalAccessException e) {
                      LOGGER.error(e.getMessage(), e);
                  }
              }
          }
          return allPermissions;
      }