You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a way to fetch images from all projects. Suggesting a new param: GET 1.0/images?all-projects=true. A similar parameter exists on the instance endpoint.
Motivation: We need all images for the permission selection in LXD-UI. We present the list of images to create a permission, and the auth API only gives us fingerprints for the images. So we'd like to fetch all images to show the nice names. This currently only works for images in the default project, others stay with the fingerprint, as we can't load the images for all projects.
The text was updated successfully, but these errors were encountered:
…n config (#1017)
## Done
- Use all projects parameter to resolve image fingerprints in permission
config
- Show project for images in permission selector
- Since canonical/lxd#14126 got merged, this
is now unblocked. For older versions (non latest/edge) the parameter
won't harm so we don't need to consume the api extension for this
feature.
## QA
1. Run the LXD-UI:
- On the demo server via the link posted by @webteam-app below. This is
only available for PRs created by collaborators of the repo. Ask
@mas-who or @edlerd for access.
- With a local copy of this branch, [build and run as described in the
docs](../CONTRIBUTING.md#setting-up-for-development).
2. Perform the following QA steps:
- configure image permissions for a lxd deployment that has images in
different projects
- the images from all projects should be resolved to names in the
permission selection and editing when assigning permissions to groups.
Required information
Issue description
Add a way to fetch images from all projects. Suggesting a new param:
GET 1.0/images?all-projects=true
. A similar parameter exists on the instance endpoint.Motivation: We need all images for the permission selection in LXD-UI. We present the list of images to create a permission, and the auth API only gives us fingerprints for the images. So we'd like to fetch all images to show the nice names. This currently only works for images in the default project, others stay with the fingerprint, as we can't load the images for all projects.
The text was updated successfully, but these errors were encountered: