Details

      Description

      EZP-24713 adds support for policy limitations edition.
      For a LimitationType to be editable, a form mapper service needs to be implemented.

      Most LimitationTypes are multiple select based, so they can be based on \EzSystems\RepositoryForms\Limitation\Mapper\MultipleSelectionBasedMapper.
      LimitationFormMappers are services implementing \EzSystems\RepositoryForms\Limitation\LimitationFormMapperInterface. Service definition must have ez.limitation.formMapper tag, with the limitation type identifier as limitationType service tag attribute.

      Example

          ezrepoforms.limitation.form_mapper.siteaccess:
              parent: ezrepoforms.limitation.form_mapper.multiple_selection
              class: %ezrepoforms.limitation.form_mapper.siteaccess.class%
              arguments: [%ezpublish.siteaccess.list%]
              tags:
                  - { name: ez.limitation.formMapper, limitationType: SiteAccess }
      

      All core limitation types are defined in CoreBundle's policies.yml.
      Missing mappers are:

        Issue Links

          Activity

          Hide
          Gunnstein Lye added a comment - - edited
          Show
          Gunnstein Lye added a comment - - edited PR: https://github.com/ezsystems/repository-forms/pull/58 Node and Subtree mappers are moved to https://jira.ez.no/browse/EZP-25159
          Show
          Gunnstein Lye added a comment - Merged in master: https://github.com/ezsystems/repository-forms/commit/0a8ea98161027a0c983df21bcf2964b03eec0811
          Hide
          Rui Silva (Inactive) added a comment -

          Tested and approved by QA for master.
          The utterly correct functionality of all implemented limitations is outside the scope of these tests, only the implementation of the mappers, hence EZP-25280 has been opened to handle the current incorrect functionality of ParentDepth limitation.

          Show
          Rui Silva (Inactive) added a comment - Tested and approved by QA for master. The utterly correct functionality of all implemented limitations is outside the scope of these tests, only the implementation of the mappers, hence EZP-25280 has been opened to handle the current incorrect functionality of ParentDepth limitation.

            People

            • Assignee:
              Unassigned
              Reporter:
              Jérôme Vieilledent (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 days, 30 minutes
                4d 30m