glance/releasenotes/notes/make-task-api-admin-only-by-default-7def996262e18f7a.yaml
Flavio Percoco 8f0d6ea9c5 Make the task's API admin only by default
One of the goals of this spec is to improve the image import process and
allow for other background operations to be executed when the image data
is added. This supersedes the need of the task endpoint that we'll
slowly deprecate. As part of this spec, we should make it admin only and
warn deployers that this API is going to be deprecated.

MitakaPriority
DocImpact: Tasks API is now admin only. Deployments depending on this
    API need to make sure they make it accessible for non-admins.
Closes-bug: #1527716
Partially-blueprint: image-import-refactor
Change-Id: I28cb69ea730ae58b9aed1dd43b68305dbbf132c1
2016-01-28 19:26:09 +00:00

13 lines
730 B
YAML

---
deprecations:
- The task API was added to allow users for uploading images asynchronously
and for deployers to have more control in the upload process. Unfortunately,
this API has not worked the way it was expected to. Therefore, the task API
has entered a deprecation period and it is meant to be replaced by the new
import API. This change makes the task API admin only by default so that it
is not accidentally deployed as a public API.
upgrade:
- The task API is being deprecated and it has been made admin only. If deployers
of Glance would like to have this API as a public one, it is necessary to
change the `policy.json` file and remove `role:admin` from every `task`
related field.