Details

      Description

      In legacy, roles can be assigned to users/groups with limitation on section or subtree. This is missing in new stack.

      Follow-up from EZP-24700

        Issue Links

          Activity

          Hide
          Gunnstein Lye added a comment - - edited

          [~jerome.vieilledent@ez.no] Do you have any input on how this can be done?

          Legacy has the following, in role view:

          • A button for assigning role without limitation, which starts the user/group selector
          • A dropdown for selecting section or subtree
          • A button for assigning role with selected limitation - this starts a section or subtree selector, and after that the user/group selector

          The dropdown is overkill as is, but handy if we're going to add more limitation types later.

          CC André Rømcke

          Show
          Gunnstein Lye added a comment - - edited [~jerome.vieilledent@ez.no] Do you have any input on how this can be done? Legacy has the following, in role view: A button for assigning role without limitation, which starts the user/group selector A dropdown for selecting section or subtree A button for assigning role with selected limitation - this starts a section or subtree selector, and after that the user/group selector The dropdown is overkill as is, but handy if we're going to add more limitation types later. CC André Rømcke
          Hide
          Jérôme Vieilledent (Inactive) added a comment -

          I don't see any blockers here, or?

          Show
          Jérôme Vieilledent (Inactive) added a comment - I don't see any blockers here, or?
          Hide
          Gunnstein Lye added a comment -
          Show
          Gunnstein Lye added a comment - Work in progress: https://github.com/ezsystems/PlatformUIBundle/pull/383
          Hide
          Mateusz Hyndle added a comment -

          New PR for that: https://github.com/ezsystems/PlatformUIBundle/pull/397
          It only contains PHP part, JS parts are moved to subtasks

          Show
          Mateusz Hyndle added a comment - New PR for that: https://github.com/ezsystems/PlatformUIBundle/pull/397 It only contains PHP part, JS parts are moved to subtasks
          Hide
          Damien Pobel (Inactive) added a comment -

          Just to make clear the current status of this issue, the PR https://github.com/ezsystems/PlatformUIBundle/pull/397 provides the following server side changes:

          • a " Assign to users/groups with subtree limitation" button when viewing a role
          • a "Assign to users/groups with section limitation" link leading to an interface where it's possible to choose a Section with a "Assign to users/groups with section limitation" button

          Both "Assign to users/groups with subtree limitation" and ""Assign to users/groups with section limitation" buttons should trigger the UDW and then the REST API should be used to assign the role to users/groups with the corresponding limitation. This is the point of the EZP-25008 and EZP-25009. Before implementing those tasks, https://github.com/ezsystems/PlatformUIBundle/pull/397 can not be merged.

          Show
          Damien Pobel (Inactive) added a comment - Just to make clear the current status of this issue, the PR https://github.com/ezsystems/PlatformUIBundle/pull/397 provides the following server side changes: a " Assign to users/groups with subtree limitation" button when viewing a role a "Assign to users/groups with section limitation" link leading to an interface where it's possible to choose a Section with a "Assign to users/groups with section limitation" button Both "Assign to users/groups with subtree limitation" and ""Assign to users/groups with section limitation" buttons should trigger the UDW and then the REST API should be used to assign the role to users/groups with the corresponding limitation. This is the point of the EZP-25008 and EZP-25009 . Before implementing those tasks, https://github.com/ezsystems/PlatformUIBundle/pull/397 can not be merged.
          Show
          Stéphane Diot added a comment - new PR : https://github.com/ezsystems/PlatformUIBundle/pull/543 merged: https://github.com/ezsystems/PlatformUIBundle/commit/1e1d12c3555dc873020a9b0701f1688d9c9d73b5
          Hide
          Rui Silva (Inactive) added a comment -

          Tested and approved by QA for master.

          Show
          Rui Silva (Inactive) added a comment - Tested and approved by QA for master.

            People

            • Assignee:
              Unassigned
              Reporter:
              Gunnstein Lye
            • Votes:
              0 Vote for this issue
              Watchers:
              6 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 - 1 week, 2 days, 6 hours, 15 minutes
                1w 2d 6h 15m