Done
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Damien JohnsonDamien Johnson(Deactivated)Reporter
Kari DavisKari DavisCapitalizable
TrueStory Points
2Time remaining
0hSprint
NoneFix versions
Priority
BlockerParent
Details
Details
Assignee
Damien Johnson
Damien Johnson(Deactivated)Reporter
Kari Davis
Kari DavisCapitalizable
True
Story Points
2
Time remaining
0h
Sprint
None
Fix versions
Priority
Parent
Created May 18, 2017 at 3:27 PM
Updated August 15, 2017 at 9:00 PM
Resolved August 14, 2017 at 7:16 PM
Need to know the roles that would grant access to this call.
Simple RBAC, API Checker need to be changed to accommodate relevant roles. Simple RBAC depends on API Validator, if API Checker changes and we pull those changes into API Validator.
There is API Checker work to be done before the relevant roles feature is ready for consumption.
The
rax:roles
XSLT needs to be updated to addrax:captureHeader
which will create theX-Relevant-Roles
header and populate it with the intersection ofX-Roles
and the configuredrax:roles
.Tests must exist to prove that this functionality works. Be sure to test the case where multiple
x-roles
values would grant access to a resource.End-to-end (i.e., functional) tests need to be added to cover the remaining configuration combinations for
rax:captureHeader
. The test suite forrax:captureHeader
should look pretty similar to the test suite forrax:assert
except thatrax:captureHeader
cannot fail, and thus, the failure state and message do not need to be tested.has volunteered to finish the end-to-end tests for
rax:captureHeader
since he has already started them, and knows how to exercise the various ways to construct the state machine.The work currently in progress can be found at:
https://github.com/RackerWilliams/api-checker/tree/capture-header-elem
Once the api-checker work is finished and released, Repose must bring in new version of the library. The feature will be on by default (i.e., no config updates in Repose to turn this on in API Validator).
Acceptance Criteria:
Work is in API Checker. Jorge has done the majority of the work, but the remainder should be finished and tested.
Add to release notes
Tests exist to prove we have implemented this feature correctly
See screenshots for additional context.