1# Pasteboard Subsystem Changelog 2 3## cl.pasteboard.1 Change of the SetAppShareOptions() and RemoveAppShareOptions() APIs from System APIs to Public APIs 4 5**Access Level** 6 7Public API 8 9**Reason for Change** 10 11The ohos.permission.MANAGE_PASTEBOARD_APP_SHARE_OPTION permission is now required for third-party applications to set or delete the pasteable range of pasteboard data. 12 13**Change Impact** 14 15This change is a non-compatible change. 16 17Before change:<br>**SetAppShareOptions()** and **RemoveAppShareOptions()** are system APIs and can be called only by system applications. ohos.permission.MANAGE_PASTEBOARD_APP_SHARE_OPTION is not verified when an application sets or deletes the pasteable range of pasteboard data. 18 19After change<br>**SetAppShareOptions()** and **RemoveAppShareOptions()** are public APIs and can be called by both third-party applications and system applications that have obtained the required permissions. Without the ohos.permission.MANAGE_PASTEBOARD_APP_SHARE_OPTION permission, third-party applications will be intercepted when setting or deleting the pasteable range of pasteboard data. 20 21**Start API Level** 22 2312 24 25**Change Since** 26 27OpenHarmony SDK 5.0.2.52 28 29**Key API/Component Changes** 30 31SetAppShareOptions()/pasteboard_service 32RemoveAppShareOptions()/pasteboard_service 33 34**Adaptation Guide** 35 36Declare ohos.permission.MANAGE_PASTEBOARD_APP_SHARE_OPTION in **module.json** of third-party applications as required. The sample code is as follows: 37```ts 38"requestPermissions": [ 39 { 40 "name": "ohos.permission.MANAGE_PASTEBOARD_APP_SHARE_OPTION" 41 } 42] 43``` 44