← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1819425] Re: Non-admin user can not filter instance by instance-uuid

 

Reviewed:  https://review.opendev.org/642403
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=31007102b019f93918046657c78ddf3b6b09711e
Submitter: Zuul
Branch:    master

commit 31007102b019f93918046657c78ddf3b6b09711e
Author: 翟小君 <zhaixiaojun@xxxxxxxxxxxxx>
Date:   Mon Mar 11 18:08:47 2019 +0800

    Update description of valid whitelist for non-admin user
    
    Non-admin user can filter instance by instance-uuid and other
    filter keys with being configured using the "os_compute_api:
    servers:allow_all_filters" policy rule. The policy rule was
    added with Ia5504da9a00bad689766aeda20255e10b7629f63.
    
    Closes-Bug:1819425
    
    Change-Id: I74146b4370b6017cb199466258165fc6df080082


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

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

Title:
  Non-admin user can not filter instance by instance-uuid

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  Non-admin user can not filter instance by instance-uuid.
  The steps to reproduce this:
  1)non-admin user creates some instances
  2)go to project - instances interface, select “Instance ID” for the filter condition
  3)enter "123" in the text box (the ID of all instances does not contain "123"),click filter
     Result:all instances are displayed.
     Excepted result: all instances are not displayed.
  4)enter "exact ID" in the text box(the "exact ID" is one of instances ID),click filter
     Result:all instances are displayed.
     Excepted result: the instance ID is "exact ID" is displayed, others are not displayed.
  Additionally, admin user can use “Instance ID” as the filter condition filtering instances accurately.

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


References