Need idea on how to approach this app development

Hello, I am trying to develop new Forge app.

This forge app will introduce page labelling that displays confidential level of the page.
For example, confidential level consists of 4 levels (or can be more): public, internal, confidential, and secret.

Another factor is that App makes it so that user needs to specify confidential level of page when they are creating a page or updating a page that doesn’t have one. I was thinking that pop up shows up inside page edit screen.

I was thinking that maybe ‘content byline item’ module could work as a placeholder for page labelling, and user can also interact with it to change the confidential level of a page.

But I am not sure, where to save this information about each page’s confidential level, and also how to implement a way to force user to specify the confidential level.

Are there any fitting modules or implementation in Forge that can work great?

Thanks

1 Like

You can store information in content properties: https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties/#api-pages-page-id-properties-get I’ve used those for content byline items successfully.

I don’t think there’s a way to prevent publishing. You could check for the property and show a flag if it’s not present: https://developer.atlassian.com/platform/forge/apis-reference/ui-api-bridge/showFlag/#showflag