Keystone server should define "type" attribute as a MIME Media Type but accepts everything

Bug #1615084 reported by Nisha Yadav on 2016-08-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Low
Unassigned

Bug Description

The bug was discovered while writing the policies functional tests [1]. Keystone server should define "type" attribute as a MIME Media Type [2] but accepts everything, for example, UUID is accepted in [1] while creating and updating a policy.

[1] https://review.openstack.org/#/c/337836/2/keystoneclient/tests/functional/v3/test_policies.py
[2] https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/v3/policies.py

Nisha Yadav (ynisha11) on 2016-08-19
summary: Keystone server should define "type" attribute as a MIME Media Type but
- accepts anything in v3 policies.py
+ accepts anything
summary: Keystone server should define "type" attribute as a MIME Media Type but
- accepts anything
+ accepts everything
description: updated
description: updated
Morgan Fainberg (mdrnstm) wrote :

Keystoneclient has nothing to say about what the server accepts. If anything this is a keystone issue.

affects: python-keystoneclient → keystone
Changed in keystone:
status: New → Confirmed
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers