1# File Management Subsystem Changelog 2 3## c1.file_manager.1 Deprecation of File Management Module API and Parameters 4 5**Access Level** 6 7System API 8 9**Reason for Change** 10 11The deprecated API is a new API added in API version 11. Considering the compatibility with the existing APIs in API version 10, the authorization scheme is adjusted and the authorization is implemented by the AMS API **GrantUriPermission**. Therefore, this API is not longer required and is deprecated. 12 13**Change Impact** 14 15This API has never been released with a formal version. No adaptation is required. 16 17**API level** 18 19<11> 20 21**Deprecated Since** 22 23OpenHarmony SDK 4.1.5.1 24 25**Deprecated API/Parameters** 26 27function grantPermission(tokenId: number, policies: Array<PolicyInfo>, policyFlag: number): Promise<void> 28 29export enum policyFlag 30 31FORBID_PERSISTENCE = 0b10 32 33ALLOW_PERSISTENCE = 0b1 34 35**Adaptation Guide** 36 37This API has never been released with a formal version. No adaptation is required. 38