[MGNLUI-2635] Deleting user/group/role on author doesn't automatically delete it on public Created: 16/Dec/13  Updated: 15/Jul/14  Resolved: 30/Jan/14

Status: Closed
Project: Magnolia UI
Component/s: security app
Affects Version/s: 5.2
Fix Version/s: 5.2.2

Type: Bug Priority: Neutral
Reporter: Jan Haderka Assignee: Milan Divilek
Resolution: Fixed Votes: 0
Labels: support
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
relation
is related to MGNLUI-3062 Deleting not empty folders in groups ... Closed
is related to MGNLUI-2644 Deleting folder in group or roles on ... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

When deleting published user/group/role on author, the corresponding user/group/role on public is not removed.



 Comments   
Comment by Roman Kovařík [ 28/Jan/14 ]
  • Binary compatibility - missing methods:
    • AbstractDeleteGroupOrRoleAction.getItem()
    • AbstractDeleteGroupOrRoleAction.executeAfterConfirmation()
  • Version handler:
    .addTask(new NodeExistsDelegateTask("Reconfigure deleteUser action", "Change class to info.magnolia.ui.framework.action.DeleteActionDefinition", RepositoryConstants.CONFIG, "/modules/security-app/apps/security/subApps/users/actions/deleteUser",
                                    new CheckAndModifyPropertyValueTask("", "", RepositoryConstants.CONFIG, "/modules/security-app/apps/security/subApps/users/actions/deleteUser", "class<span class="code-quote">", "info.magnolia.ui.framework.action.DeleteItemActionDefinition", "info.magnolia.ui.framework.action.DeleteActionDefinition")))
    
    • use new tasks constructors with autogenerated description if you don't provide any extra information
    • add new assertions to info.magnolia.security.setup.SecurityModuleVersionHandlerTest.testUpdateFrom521() for new changes
    • use DeleteItemActionDefinition/DeleteActionDefinition.class.getName() instead of plain strings
Comment by Roman Kovařík [ 29/Jan/14 ]

Reopened:
Prior behaviour was to ask for confirmation before deletion:
Do you really want to delete this item?
We don't have to confirm after this fix.

Generated at Mon Feb 12 08:58:39 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.