[MGNLUI-3093] Improve UI for deleting folders, groups or roles which are still in use Created: 11/Aug/14  Updated: 08/Mar/17  Resolved: 03/Mar/17

Status: Closed
Project: Magnolia UI
Component/s: security app
Affects Version/s: 5.2.9, 5.3.2
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Mikaël Geljić Assignee: Khuong Nguyen
Resolution: Obsolete Votes: 0
Labels: ux
Remaining Estimate: 0d
Time Spent: 3d 4.5h
Original Estimate: 3d

Attachments: PNG File MGNLUI-3062-folder.png     PNG File MGNLUI-3062-role.png    
Issue Links:
Cloners
clones MGNLUI-3062 Deleting not empty folders in groups ... Closed
relation
is related to MGNLUI-3258 When deleting groups/roles dependenci... 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)
Sprint: Saigon 82, Saigon 83, Saigon 84, Saigon 85
Story Points: 5

 Description   

Solution implemented with MGNLUI-3062 "does the job" in preventing and notifying when trying to delete folders with groups/roles that are still in use, but it hasn't quite met the UI requirements, in particular:

  • This is not an alert, but a notification. Alerts have an [ OK ] button.
  • This is not of level WARNING (yellow) but ERROR (red).
  • When folder is not empty, I should get the alert as soon as I click 'Delete folder' in the action bar, not after the confirmation.
  • Wording is not as specified in the comment. Please also use separate keys for roles VS. groups.

Original specification comment:

For single groups (resp. roles), if I attempt to delete a group which is still in use, I get a warning alert:
"This group still contains users. Please empty the group first. [ OK ]"

Likewise for group folders (resp. role folders). I get a warning alert:
"This folder contains groups which are still in use. Please make sure no users are assigned to these first. [ OK ]"

If the folder contains only unused items, then we get the confirmation dialog as usual.

Meanwhile, current implementation has the advantage of showing details as to which assignment is currently preventing deletion.
We should think about how we want to display these details, both in terms of what can be done right now, and what should be done in the future.


Generated at Mon Feb 12 09:03:09 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.