Skip to content

Commit 1024255

Browse files
committed
Upgrade Authorization::assertSatIsAllowed method
Only when the Identity owned a self-asserted token (SAT), or when the identity does not have a tokey yet, allow the Identity to vet a self asesrted token.
1 parent b1bbe79 commit 1024255

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Surfnet/StepupMiddleware/ApiBundle/Tests/Authorization/Service/AuthorizationServiceTest.php

-1
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,6 @@ public function test_it_allows_when_identity_with_prior_sat_meets_all_requiremen
286286
$this->assertEmpty($messages);
287287
}
288288

289-
290289
public function test_recovery_tokens_never_owned_a_sat_token_but_did_own_other_token_type()
291290
{
292291
$identity = new Identity();

0 commit comments

Comments
 (0)