Skip to content

Review all list APIs and make then honour listall parameter #3897

@rohityadavcloud

Description

@rohityadavcloud

There are many list APIs that should ideally honour the listall parameter and when set to true should return all the items a caller/account is authorised to see. Due to a historic use of projectid=-1, most APIs do return all project only resources.

With PR #3894 the behaviour has been addressed for some APIs such as listRouters etc where all resources are returned for root admin when both listall=true and projectid=-1 is passed. A review of all list APIs and fix to make the behaviour consistent is asked.

ISSUE TYPE
  • Bug Report
  • Improvement Request
COMPONENT NAME
API
CLOUDSTACK VERSION
4.13, 4.14+

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions