docs: private void initPermissionsForPrincipal(JsonEntityBean principal) {
          permissions.add(
                  principal.getTypeAndIdHash()
                          + "_"
                          + PortletAdministrationHelper.PortletPermissionsOnForm.BROWSE
                                  .getActivity());
          permissions.add(
                  principal.getTypeAndIdHash()
                          + "_"
                          + PortletAdministrationHelper.PortletPermissionsOnForm.SUBSCRIBE
                                  .getActivity());
      }