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

          Gunnstein Lye logged work - 10/Nov/15 5:00 PM
          • Time Spent:
            1 hour
             

            .

          Gunnstein Lye logged work - 11/Nov/15 3:00 PM
          • Time Spent:
            3 hours
             

            .

          Gunnstein Lye logged work - 12/Nov/15 1:00 PM
          • Time Spent:
            5 hours
             

            .

          Gunnstein Lye logged work - 13/Nov/15 12:30 PM - edited
          • Time Spent:
            5 hours, 30 minutes
             

            .

          Gunnstein Lye logged work - 16/Nov/15 12:00 PM
          • Time Spent:
            6 hours
             

            .

          Gunnstein Lye logged work - 17/Nov/15 1:30 PM
          • Time Spent:
            5 hours
             

            .

          Gunnstein Lye logged work - 20/Nov/15 11:00 AM
          • Time Spent:
            2 hours
             

            .

          Gunnstein Lye logged work - 24/Nov/15 2:30 PM
          • Time Spent:
            3 hours
             

            .

          Gunnstein Lye logged work - 27/Nov/15 10:00 AM
          • Time Spent:
            2 hours
             

            .

            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