Return global or project preferred CA on GET /cas/preferred

Bug #1498269 reported by Dave McCowan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Barbican
Fix Released
Critical
Dave McCowan

Bug Description

A user will want to know information about which CA has been assigned
to him by either the project admin or the system admin.
Get /cas/preferred should return the ref of either the project
preferred CA (set by /add-to-project) or the global preferred CA
(set by /set-global-preferred).
If the admins have not set a preferred CA, then 404 should be returned.

Changed in barbican:
status: New → In Progress
assignee: nobody → Dave McCowan (dave-mccowan)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to barbican (master)

Fix proposed to branch: master
Review: https://review.openstack.org/226141

Changed in barbican:
importance: Undecided → High
milestone: none → liberty-rc1
Changed in barbican:
importance: High → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to barbican (master)

Reviewed: https://review.openstack.org/226141
Committed: https://git.openstack.org/cgit/openstack/barbican/commit/?id=a0380d71aae0c82265d571dd3a115df07723a474
Submitter: Jenkins
Branch: master

commit a0380d71aae0c82265d571dd3a115df07723a474
Author: Dave McCowan <email address hidden>
Date: Mon Sep 21 22:49:21 2015 -0400

    Change behavior of GET cas/preferred

    A user will want to know information about which CA has been assigned
    to him by either the project admin or the system admin.
    Get /cas/preferred will return the ref of either the project
    preferred CA (set by /add-to-project) or the global preferred CA
    (set by /set-global-preferred).
    If the admins have not set a preferred CA, then 404 is returned.

    Change-Id: I56e5d4d62e0b99c9151f25f0f395ffe7c3ad41d1
    Partially-implements: blueprint add-cas
    Closes-bug: #1498269

Changed in barbican:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in barbican:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in barbican:
milestone: liberty-rc1 → 1.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.