Skip to content

Commit

Permalink
Enable and repair fga-use-case-c.feature
Browse files Browse the repository at this point in the history
  • Loading branch information
MKodde committed Feb 12, 2024
1 parent ce2a835 commit e827506
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions stepup/tests/behat/features/fga-use-case-c.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@SKIP
Feature: Use case C: Closely cooperating institutions
Two or more Institutions that are working (closely) together and that want to share their vetting
infrastructure Note: the difference with the previous use case (B) is that in this use-case (C) each institution has
Expand All @@ -25,7 +24,12 @@ Feature: Use case C: Closely cooperating institutions
"institution-d.example.com"
],
"use_raa": [
"institution-a.example.com"
"institution-a.example.com",
"institution-d.example.com"
],
"use_ra": [
"institution-a.example.com",
"institution-d.example.com"
]
},
"institution-d.example.com": {
Expand All @@ -40,17 +44,22 @@ Feature: Use case C: Closely cooperating institutions
"institution-d.example.com"
],
"use_raa": [
"institution-d.example.com"
"institution-d.example.com",
"institution-a.example.com"
],
"use_ra": [
"institution-d.example.com",
"institution-a.example.com"
]
}
}
"""
And I authenticate to the Middleware API
And I request "POST /management/institution-configuration"
And a user "RAA institution A" identified by "urn:collab:person:institution-a.example.com:joe-a-raa" from institution "institution-a.example.com"
And a user "joe-a-raa" identified by "urn:collab:person:institution-a.example.com:joe-a-raa" from institution "institution-a.example.com"
And the user "urn:collab:person:institution-a.example.com:joe-a-raa" has a vetted "yubikey" with identifier "00000004"
And the user "urn:collab:person:institution-a.example.com:joe-a-raa" has the role "raa" for institution "institution-a.example.com"
And a user "RAA institution D" identified by "urn:collab:person:institution-d.example.com:joe-d-raa" from institution "institution-d.example.com"
And a user "joe-d-raa" identified by "urn:collab:person:institution-d.example.com:joe-d-raa" from institution "institution-d.example.com"
And the user "urn:collab:person:institution-d.example.com:joe-d-raa" has a vetted "yubikey" with identifier "00000005"
And the user "urn:collab:person:institution-d.example.com:joe-d-raa" has the role "raa" for institution "institution-d.example.com"
And a user "jane-a1" identified by "urn:collab:person:institution-a.example.com:jane-a1" from institution "institution-a.example.com"
Expand Down

0 comments on commit e827506

Please sign in to comment.