Use common approach to disallow deleting current project and domain

Bug #1494464 reported by hossein zabolzadeh
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Confirmed
Low
Unassigned

Bug Description

Disabling and deleting currently-logged-in project and domain need to be handled with same method.
Stricktly speaking, we should use the same policy for the following actions:
- Disable current project
- Delete current project
- Disable current domain
- Delete current domain
----
To handle the above actions, two different strategies exist:
1- Disallow users to do the action
2- Allow to do, but handle the error
----
Current status of the aboved mentioned actions is as follows:
- Disable current project(Disallowed) --->https://review.openstack.org/#/c/138383/
- Delete current project(Allowed) --->https://review.openstack.org/#/c/199410/
- Disable current domain(Allowed) ---> (I reported the bug: https://bugs.launchpad.net/horizon/+bug/1494448)
- Delete current domain(Allowed but if domain is disabled)
 ---
Using the same method for all of the above actions is what we should do to avoid inconsistency in Horizon UI.

Changed in horizon:
assignee: nobody → hossein zabolzadeh (zabolzadeh)
description: updated
summary: - use-same-method-to-handle-delete-current-project-and-domain
+ use same method to handle delete current project and domain
tags: added: horizon-core ux
summary: - use same method to handle delete current project and domain
+ use same method to handle current project and domain deletion
Revision history for this message
Gary W. Smith (gary-w-smith) wrote :

Unassigned due to inactivity.

summary: - use same method to handle current project and domain deletion
+ Use common approach to disallow deleting current project and domain
Changed in horizon:
assignee: hossein zabolzadeh (zabolzadeh) → nobody
importance: Undecided → Low
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.