← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1549544] Re: delete image action enabled when not allowed

 

Reviewed:  https://review.openstack.org/584750
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=71cac4a145d6726703d76ce66e1787df80c3f3cf
Submitter: Zuul
Branch:    master

commit 71cac4a145d6726703d76ce66e1787df80c3f3cf
Author: mareklycka <marek.lycka@xxxxxxxxxx>
Date:   Mon Jul 23 09:45:55 2018 +0200

    Replaces the delete button with a disabling version
    
    Replaces the default delete button template for the images batch delete
    action with a custom one. This template contains a new component, which
    changes the disabled/enabled state of the underlying action based on the
    selected images allowed value as specified by the delete-image service
    used to evaluate the allowed value for individual rows/images and their
    respective delete actions.
    
    Closes-Bug: 1549544
    
    Change-Id: Idd5f59e32268cf4ceefe3639c607fb6c3520e538


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1549544

Title:
  delete image action enabled when not allowed

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  On the ngimages panel, select a image that you do not have permission
  to delete (owned by another project). The delete image action button
  is enabled, even though the action is immediately blocked.

  Expected behavior is that delete image action button is only enabled
  if the action's allowed method returns success for all selected
  images.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1549544/+subscriptions


References