Closed (fixed)
Project:
Permissions Policy
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
31 May 2021 at 23:29 UTC
Updated:
15 Jun 2021 at 00:14 UTC
Jump to comment: Most recent
An allowlist only allows domain sources, so if an 'Any' / * base policy is selected any other values will be omitted from the output policy (#3216477: Don't allow additional sources if 'Any' base policy selected)
(This differs from CSP, which allows non-domain sources like data: or hashes, which still need to be included alongside the global wildcard)
The configuration form should only show the additional sources field if an empty or 'self' base policy is selected.
Comments
Comment #2
gappleThere are appears to be some quirks in the
#statessystem around handling a form radio with an empty value.I think it will be necessary to use a different key for the empty radio value, then adjust the value stored in the save handler when necessary.
Comment #4
gapple