| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
std::optional<IwaAccessControl::UserInstallAllowlistItemData::Entitlement>nit: `std::optional<IwaEntitlement>`
return network::IsPermissionsPolicyFeatureGuardedByIsolatedContext(nit: this bypass function doesn't really do much. Maybe just directly call `network::IsPermissionsPolicyFeatureGuardedByIsolatedContext` where needed?
static const char* kIsolatedContextFeatures[] = {Ideally this should be a `FixedFlatSet` with a one-off static initializer (via `MakeFixedFlatSet`
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
base::DictValue dict;Zgroza (Luke) Klimeknit: revert this
Done
std::optional<IwaAccessControl::UserInstallAllowlistItemData::Entitlement>Zgroza (Luke) Klimeknit: `std::optional<IwaEntitlement>`
Done
Ideally this should be a `FixedFlatSet` with a one-off static initializer (via `MakeFixedFlatSet`
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Hi @voge...@chromium.org, can You PTAL at the permissions policy-related helper added here?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
return network::IsPermissionsPolicyFeatureGuardedByIsolatedContext(Zgroza (Luke) Klimeknit: this bypass function doesn't really do much. Maybe just directly call `network::IsPermissionsPolicyFeatureGuardedByIsolatedContext` where needed?
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Hi @morl...@chromium.org, can You PTAL at the remaining files in `services/network/OWNERS`?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Hi @morl...@chromium.org, can You PTAL at the remaining files in `services/network/OWNERS`?
A note: from `services/network/build/OWNERS` and `third_party/blink/public/common/permissions_policy/OWNERS` it seems as though `services/network/build/scripts/*permissions_policy*` changes should be approvable by @voge...@chromium.org, but apparently Gerrit disagrees?
bool IsPermissionsPolicyFeatureGuardedByIsolatedContext(So it might be because I am lacking context --- what "guarded by" may be obvious to you --- but I think it would be helpful if this had a comment particularly explaining the directionality of this method --- e.g. does a return of true mean that the feature supposed to be allowed/disallowed/be asked about elsewhere?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
bool IsPermissionsPolicyFeatureGuardedByIsolatedContext(So it might be because I am lacking context --- what "guarded by" may be obvious to you --- but I think it would be helpful if this had a comment particularly explaining the directionality of this method --- e.g. does a return of true mean that the feature supposed to be allowed/disallowed/be asked about elsewhere?
[Example](https://source.chromium.org/chromium/chromium/src/+/main:services/network/public/cpp/permissions_policy/permissions_policy_features.json5;l=326-337?q=-f:%5Eout%2F%20-f:%5Egen%2F%20-f:%5Esrc%2F%20case:auto%20f:json%20permissions_p%20IsolatedContext). Maybe `PermissionsPolicyRequiresIsolatedContext()`?
bool IsPermissionsPolicyFeatureGuardedByIsolatedContext(So it might be because I am lacking context --- what "guarded by" may be obvious to you --- but I think it would be helpful if this had a comment particularly explaining the directionality of this method --- e.g. does a return of true mean that the feature supposed to be allowed/disallowed/be asked about elsewhere?
So, in short, this means that `permissions_policy_features.json5` specifies `visibility: "IsolatedContext"` for this feature.
I added a comment above explaining that, does it sound better now?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
bool IsPermissionsPolicyFeatureGuardedByIsolatedContext(Zgroza (Luke) KlimekSo it might be because I am lacking context --- what "guarded by" may be obvious to you --- but I think it would be helpful if this had a comment particularly explaining the directionality of this method --- e.g. does a return of true mean that the feature supposed to be allowed/disallowed/be asked about elsewhere?
So, in short, this means that `permissions_policy_features.json5` specifies `visibility: "IsolatedContext"` for this feature.
I added a comment above explaining that, does it sound better now?
I think a broader comment that explains more would be better, but this is precise enough to be useful.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
IWA: Add proto changes and immediate handling for entitlements
This change introduces the data structures and proto definitions
required to support entitlement enforcement for Isolated Web Apps.
This change does not "use this" yet, the entitlements are now parsed
and passed to places but not yet enforced. For usage of things added
here see the chained CL: crrev.com/c/7594555.
Key changes:
- Updated key_distribution.proto to include an Entitlements message,
allowing an allowlist of features to be associated with specific
Web Bundle IDs and version ranges.
- Introduced IwaEntitlementsSet and helper functions to map
Permissions Policy features to these new entitlements.
- Enhanced IwaKeyDistributionInfoProvider to parse and expose
entitlement data from the key distribution component.
- Updated ChromeIwaRuntimeDataProvider to carry entitlement
information for user-installed apps.
- Added a helper function for determining whether the feature is guarded
by IsolatedContext to permissions_policy_features_generated.h
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |