Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-20747

unAssignUserFromUserGroup should throw BadState when 1 group left

    XMLWordPrintable

Details

    Description

      While removing all locations on Content makes sense, it does not make much sense on users as user groups are tied to permissions.

      So this enhancement is about:

      • Adding API doc for UserService->unAssignUserFromUserGroup() to throw BadState when trying to remove last user group
      • Change Core impl to enforce this, and update phpdoc of the other implementations
      • Add doc/bc/5.1/changes.md like in ezpublish-legacy to add a note on the bc break

      Attachments

        Activity

          People

            Unassigned Unassigned
            christian.bacher-obsolete@ez.no Christian Bacher (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 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 - 6 hours
                6h