Details
-
Improvement
-
Resolution: Fixed
-
High
-
None
-
None
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
Issue Links
- relates to
-
EZP-20709 [Public API] Unassigning user from the only assigned group makes DB inconsistent
- Closed