1e41f4b71Sopenharmony_ci# File Management Subsystem Changelog
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci## c1.file_manager.1 Deprecation of File Management Module API and Parameters
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ci**Access Level**
6e41f4b71Sopenharmony_ci
7e41f4b71Sopenharmony_ciSystem API
8e41f4b71Sopenharmony_ci
9e41f4b71Sopenharmony_ci**Reason for Change**
10e41f4b71Sopenharmony_ci
11e41f4b71Sopenharmony_ciThe 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.
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ci**Change Impact**
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ciThis API has never been released with a formal version. No adaptation is required.
16e41f4b71Sopenharmony_ci
17e41f4b71Sopenharmony_ci**API level**
18e41f4b71Sopenharmony_ci
19e41f4b71Sopenharmony_ci<11>
20e41f4b71Sopenharmony_ci
21e41f4b71Sopenharmony_ci**Deprecated Since**
22e41f4b71Sopenharmony_ci
23e41f4b71Sopenharmony_ciOpenHarmony SDK 4.1.5.1
24e41f4b71Sopenharmony_ci
25e41f4b71Sopenharmony_ci**Deprecated API/Parameters**
26e41f4b71Sopenharmony_ci
27e41f4b71Sopenharmony_cifunction grantPermission(tokenId: number, policies: Array<PolicyInfo>, policyFlag: number): Promise<void>
28e41f4b71Sopenharmony_ci
29e41f4b71Sopenharmony_ciexport enum policyFlag
30e41f4b71Sopenharmony_ci
31e41f4b71Sopenharmony_ciFORBID_PERSISTENCE = 0b10
32e41f4b71Sopenharmony_ci
33e41f4b71Sopenharmony_ciALLOW_PERSISTENCE = 0b1
34e41f4b71Sopenharmony_ci
35e41f4b71Sopenharmony_ci**Adaptation Guide**
36e41f4b71Sopenharmony_ci
37e41f4b71Sopenharmony_ciThis API has never been released with a formal version. No adaptation is required.
38