checkPlatformVersion
Gate access based on the platform version (portal.currentVersion). If the currentVersion is less than the policy.platformVersion, access is denied. This is used to limit access to features that need to roll out with a specific ArcGISOnline version. This should not be used with Enterprise.
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
policy Required | IPermissionPolicy | ||
context Required | IArcGISContext | ||
_entity Optional | Record<stringany> |
Returns
Function defined in packages/common/src/permissions/_internal/checkPlatformVersion.ts:16