# Connect apps accessing the Content Property Javascript API will now require permission scopes

**URL:** <https://community.developer.atlassian.com/t/connect-apps-accessing-the-content-property-javascript-api-will-now-require-permission-scopes/71528>\
**Category:** Announcements\
**Tags:** ecosystem-security, security, confluence-cloud, atlassian-connect\
**Created:** [July 26, 2023, 6:29am UTC](https://community.developer.atlassian.com/t/connect-apps-accessing-the-content-property-javascript-api-will-now-require-permission-scopes/71528 "2023-07-26T06:29:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AnthonyNguyen](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@AnthonyNguyen](https://community.developer.atlassian.com/u/AnthonyNguyen)\
**Post date:** [July 26, 2023, 6:29am UTC](https://community.developer.atlassian.com/t/connect-apps-accessing-the-content-property-javascript-api-will-now-require-permission-scopes/71528/1 "2023-07-26T06:29:49Z")

</div>

Hi developers,

We will be fixing a security bug in the implementation of the [Connect Javascript API](https://developer.atlassian.com/cloud/confluence/jsapi/confluence/) that allowed Connect app modules to access the [Confluence Content Property API](https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-properties/#api-group-content-properties) without declaring the appropriate scopes. After this fix is rolled out on 27 Aug 2023, the setContentProperty and getContentProperty APIs will require WRITE and READ scope respectively.

**How do I know if my app is affected?**

If your app calls setContentProperty or getContentProperty via the [Connect Javascript API](https://developer.atlassian.com/cloud/confluence/jsapi/confluence/), and _doesn’t_ declare WRITE/READ scope in the descriptor, then your app is affected. Your app is _not_ affected if you the scopes are declared, or you are calling the [Confluence Content Property API](https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-properties/#api-group-content-properties) instead.

**What do I need to do?**

If your app is affected based on the criteria above, you will need to add the appropriate scope to your app descriptor depending on which API you would like to call.

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/atlassiandeveloper/original/3X/7/8/78672baa5ba80cd9164376457051d0eec038b082.png) [@system](https://community.developer.atlassian.com/u/system)\
**Post date:** [August 25, 2023, 6:30am UTC](https://community.developer.atlassian.com/t/connect-apps-accessing-the-content-property-javascript-api-will-now-require-permission-scopes/71528/2 "2023-08-25T06:30:39Z")

</div>

Closed on August 25, 2023, 6:30am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
