Make undeclared policy attribute reads a validate error.
FLEX-WP-0025-T03: flex-auth validate flags input.*.attributes keys that no sibling registry or manifest supplies. A broken testdata package proves tests can pass while the ceiling remains caller-only. Assistant: grok Assistant-Session: 01a09dc1-b21e-77e1-919e-fcad2f82b267
This commit is contained in:
parent
80cae28a74
commit
c074237aac
10 changed files with 401 additions and 3 deletions
|
|
@ -1 +1,17 @@
|
|||
{"subjects": [], "resources": []}
|
||||
{
|
||||
"subjects": [
|
||||
{
|
||||
"id": "t03-reviewer",
|
||||
"type": "Human",
|
||||
"display_name": "T03 reviewer",
|
||||
"organization_relation": "ServiceProvider",
|
||||
"groups": ["net-kingdom-admins"],
|
||||
"claims": {
|
||||
"assurance": "aal2",
|
||||
"principal_type_source": "authentication-derived",
|
||||
"tenant_source": "registration-supplied"
|
||||
}
|
||||
}
|
||||
],
|
||||
"resources": []
|
||||
}
|
||||
|
|
|
|||
24
examples/markitect/subject_manifest.yaml
Normal file
24
examples/markitect/subject_manifest.yaml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
id: subjects:markitect-example
|
||||
subjects:
|
||||
- id: user:visitor
|
||||
type: Human
|
||||
display_name: Visitor
|
||||
organization_relation: Customer
|
||||
roles: []
|
||||
groups: []
|
||||
tenant: tenant:alpha
|
||||
- id: user:steward
|
||||
type: Human
|
||||
display_name: Steward
|
||||
organization_relation: ServiceProvider
|
||||
roles:
|
||||
- Operator
|
||||
groups:
|
||||
- group:platform-architecture
|
||||
tenant: tenant:alpha
|
||||
groups:
|
||||
- id: group:platform-architecture
|
||||
display_name: Platform Architecture
|
||||
members:
|
||||
- user:steward
|
||||
tenant: tenant:alpha
|
||||
Loading…
Add table
Add a link
Reference in a new issue