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

          Jérôme Vieilledent (Inactive) created issue -
          Jérôme Vieilledent (Inactive) made changes -
          Field Original Value New Value
          Epic Link EZP-24071 [ 44093 ]
          Jérôme Vieilledent (Inactive) made changes -
          Issue Type Bug [ 1 ] Story [ 7 ]
          Jérôme Vieilledent (Inactive) made changes -
          Status Open [ 1 ] Confirmed [ 10037 ]
          Jérôme Vieilledent (Inactive) made changes -
          Assignee Gunnstein Lye [ gunnstein.lye@ez.no ] Jérôme Vieilledent [ jerome.vieilledent@ez.no ]
          Jérôme Vieilledent (Inactive) made changes -
          Status Confirmed [ 10037 ] InputQ [ 10001 ]
          Jérôme Vieilledent (Inactive) made changes -
          Assignee Jérôme Vieilledent [ jerome.vieilledent@ez.no ] Gunnstein Lye [ gunnstein.lye@ez.no ]
          Jérôme Vieilledent (Inactive) made changes -
          Link This issue relates to EZP-24713 [ EZP-24713 ]
          Gunnstein Lye made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Gunnstein Lye logged work - 10/Nov/15 5:00 PM
          • Time Spent:
            1 hour
             

            .

          Gunnstein Lye made changes -
          Remaining Estimate 0 minutes [ 0 ]
          Time Spent 1 hour [ 3600 ]
          Worklog Id 57748 [ 57748 ]
          Gunnstein Lye logged work - 11/Nov/15 3:00 PM
          • Time Spent:
            3 hours
             

            .

          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
          Gunnstein Lye made changes -
          Time Spent 1 hour [ 3600 ] 4 hours [ 14400 ]
          Worklog Id 57750 [ 57750 ]
          Gunnstein Lye logged work - 12/Nov/15 1:00 PM
          • Time Spent:
            5 hours
             

            .

          Gunnstein Lye made changes -
          Time Spent 4 hours [ 14400 ] 1 day, 1 hour [ 32400 ]
          Worklog Id 57762 [ 57762 ]
          Gunnstein Lye logged work - 13/Nov/15 12:30 PM - edited
          • Time Spent:
            5 hours, 30 minutes
             

            .

          Gunnstein Lye made changes -
          Time Spent 1 day, 1 hour [ 32400 ] 1 day, 6 hours [ 50400 ]
          Worklog Id 57773 [ 57773 ]
          Gunnstein Lye made changes -
          Time Spent 1 day, 6 hours [ 50400 ] 1 day, 6 hours, 30 minutes [ 52200 ]
          Worklog Id 57773 [ 57773 ]
          Gunnstein Lye logged work - 16/Nov/15 12:00 PM
          • Time Spent:
            6 hours
             

            .

          Gunnstein Lye made changes -
          Time Spent 1 day, 6 hours, 30 minutes [ 52200 ] 2 days, 4 hours, 30 minutes [ 73800 ]
          Worklog Id 57810 [ 57810 ]
          Gunnstein Lye logged work - 17/Nov/15 1:30 PM
          • Time Spent:
            5 hours
             

            .

          Gunnstein Lye made changes -
          Status Development [ 3 ] Development Review [ 10006 ]
          Gunnstein Lye made changes -
          Time Spent 2 days, 4 hours, 30 minutes [ 73800 ] 3 days, 1 hour, 30 minutes [ 91800 ]
          Worklog Id 57816 [ 57816 ]
          Gunnstein Lye logged work - 20/Nov/15 11:00 AM
          • Time Spent:
            2 hours
             

            .

          Gunnstein Lye made changes -
          Fix Version/s 2015.09.2 [ 14487 ]
          Gunnstein Lye made changes -
          Time Spent 3 days, 1 hour, 30 minutes [ 91800 ] 3 days, 3 hours, 30 minutes [ 99000 ]
          Worklog Id 57856 [ 57856 ]
          Gunnstein Lye logged work - 24/Nov/15 2:30 PM
          • Time Spent:
            3 hours
             

            .

          Gunnstein Lye made changes -
          Time Spent 3 days, 3 hours, 30 minutes [ 99000 ] 3 days, 6 hours, 30 minutes [ 109800 ]
          Worklog Id 57890 [ 57890 ]
          Gunnstein Lye logged work - 27/Nov/15 10:00 AM
          • Time Spent:
            2 hours
             

            .

          Gunnstein Lye made changes -
          Link This issue is cloned by EZP-25159 [ EZP-25159 ]
          Show
          Gunnstein Lye added a comment - Merged in master: https://github.com/ezsystems/repository-forms/commit/0a8ea98161027a0c983df21bcf2964b03eec0811
          Gunnstein Lye made changes -
          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
          {code}
              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 }
          {code}

          All core limitation types are defined in CoreBundle's {{policies.yml}}.
          Missing mappers are:
          * Owner
          * Group
          * Node (will need UDW)
          * Subtree (will need UDW)
          * State
          * NewState
          * ParentOwner
          * ParentGroup
          * ParentClass
          * ParentDepth
          * Language
          * NewSection
          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
          {code}
              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 }
          {code}

          All core limitation types are defined in CoreBundle's {{policies.yml}}.
          Missing mappers are:
          * Owner
          * Group
          * -Node- moved to https://jira.ez.no/browse/EZP-25159
          * -Subtree- moved to https://jira.ez.no/browse/EZP-25159
          * State
          * NewState
          * ParentOwner
          * ParentGroup
          * ParentClass
          * ParentDepth
          * Language
          * NewSection
          Gunnstein Lye made changes -
          Status Development Review [ 10006 ] Documentation Review done [ 10011 ]
          Assignee Gunnstein Lye [ gunnstein.lye@ez.no ]
          Gunnstein Lye made changes -
          Time Spent 3 days, 6 hours, 30 minutes [ 109800 ] 4 days, 30 minutes [ 117000 ]
          Worklog Id 57937 [ 57937 ]
          Paulo Nunes (Inactive) made changes -
          Status Documentation Review done [ 10011 ] QA [ 10008 ]
          Rui Silva (Inactive) made changes -
          Assignee Paulo Nunes [ paulo.nunes@ez.no ] Rui Silva [ rui.silva@ez.no ]
          Gunnstein Lye made changes -
          Assignee Rui Silva [ rui.silva@ez.no ] Gunnstein Lye [ gunnstein.lye@ez.no ]
          Gunnstein Lye made changes -
          Fix Version/s 2015.11.1 [ 14492 ]
          Rui Silva (Inactive) made changes -
          Link This issue testing discovered EZP-25264 [ EZP-25264 ]
          Rui Silva (Inactive) made changes -
          Link This issue testing discovered EZP-25280 [ EZP-25280 ]
          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.
          Rui Silva (Inactive) made changes -
          Assignee Gunnstein Lye [ gunnstein.lye@ez.no ]
          Status QA [ 10008 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 96385 ] EZEE Development Workflow [ 125231 ]
          Alex Schuster made changes -
          Workflow EZEE Development Workflow [ 125231 ] EZEE and EZP Story Workflow [ 128047 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          15s 1 jerome.vieilledent@ez.no 22/Oct/15 2:54 PM
          Confirmed Confirmed InputQ InputQ
          14s 1 jerome.vieilledent@ez.no 22/Oct/15 2:54 PM
          InputQ InputQ Development Development
          19d 2h 1m 1 Gunnstein Lye 10/Nov/15 3:56 PM
          Development Development Development Review Development Review
          6d 21h 36m 1 Gunnstein Lye 17/Nov/15 1:32 PM
          Development Review Development Review Documentation Review done Documentation Review done
          10d 1h 14m 1 Gunnstein Lye 27/Nov/15 2:46 PM
          Documentation Review done Documentation Review done QA QA
          2d 19h 12m 1 Paulo Nunes 30/Nov/15 9:59 AM
          QA QA Closed Closed
          11d 7h 55m 1 rui.silva@ez.no 11/Dec/15 5:54 PM

            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