From 7dd9350e3b427ee29501eebb26787221029fef74 Mon Sep 17 00:00:00 2001 From: Aykut Bulut Date: Thu, 13 Jul 2023 15:46:02 -0400 Subject: [PATCH] Remove re-wording permission policy algorithm Remove re-wording permission policy check algorithm. --- spec.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.bs b/spec.bs index b347326..6647c15 100644 --- a/spec.bs +++ b/spec.bs @@ -383,7 +383,7 @@ To set private token properties for request from private token, given 1. If [$Should request be allowed to use feature?$] on "[=policy-controlled feature/private-state-token-issuance=]" and |request| returns false, then throw a "{{NotAllowedError}}" {{DOMException}}. 1. Abort the remaining steps. 1. Assert: |privateToken|["{{PrivateToken/operation}}"] is {{OperationType/"token-redemption"}} or {{OperationType/"send-redemption-record"}}. -1. If [$Should request be allowed to use feature?|should request be allowed to use feature$] on "[=policy-controlled feature/private-state-token-redemption=]" and |request| returns false, then throw a "{{NotAllowedError}}" {{DOMException}}. +1. If [$Should request be allowed to use feature?$] on "[=policy-controlled feature/private-state-token-redemption=]" and |request| returns false, then throw a "{{NotAllowedError}}" {{DOMException}}. 1. If |privateToken|["{{PrivateToken/operation}}"] is "token-redemption": 1. Set |request|'s [=request/private token refresh policy=] to |privateToken|["{{PrivateToken/refreshPolicy}}"]. 1. Abort the remaining steps.