The reported uuid is not an OpenBao entity.
OpenBao has no entity f94b7c34-e151-30bb-b473-df3ccdbb9bf1 and no entity named bernd.worsch-3. T02 waits for the entity created at first login. The member receipt still rejects the admin entity. Assistant: grok Assistant-Session: 01a13b2d-5f6d-7a32-b2c9-384625c55ca6
This commit is contained in:
parent
a7f9516bb3
commit
0af5a09e89
6 changed files with 35 additions and 41 deletions
|
|
@ -1,7 +1,6 @@
|
|||
from ops_mason.reuse_surface_hub_writer import (
|
||||
DATA,
|
||||
FORBIDDEN_ENTITY_ID,
|
||||
MEMBER_ENTITY_ID,
|
||||
METADATA,
|
||||
PARENT_DATA,
|
||||
POLICY,
|
||||
|
|
@ -16,7 +15,7 @@ def member(**overrides):
|
|||
"login": "ok",
|
||||
"policies": [POLICY],
|
||||
"identity_policies": [],
|
||||
"entity_id": MEMBER_ENTITY_ID,
|
||||
"entity_id": "11111111-1111-1111-1111-111111111111",
|
||||
"capabilities": {
|
||||
DATA: ["read"],
|
||||
METADATA: ["read"],
|
||||
|
|
@ -55,9 +54,8 @@ def test_admin_entity_and_broad_capabilities_fail():
|
|||
assert any("not exactly" in item for item in failures)
|
||||
|
||||
|
||||
def test_other_entity_fails():
|
||||
failures = assess(member(entity_id="11111111-1111-1111-1111-111111111111"))
|
||||
assert any("not the member entity" in item for item in failures)
|
||||
def test_missing_entity_fails():
|
||||
assert any("entity id" in item for item in assess(member(entity_id="")))
|
||||
|
||||
|
||||
def test_missing_revoke_fails():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue