We’re building a Forge custom UI app for Jira and need to know whether the current user is a guest ( Invite guests to Jira | Atlassian Support ) vs. a full site member, from inside the app itself.
We also noticed something that might be a clue, but we’re not confident it’s meaningful: context.userAccess (documented for user-based billing: https://developer.atlassian.com/platform/forge/adopt-user-based-billing/) is populated even when our app hasn’t opted into that billing model (access.userAccess in our manifest):
"userAccess":{"enabled":false,"hasAccess":false}
For the same Atlassian account, on a site where this user is a confirmed guest, hasAccess came back false. On a different site, where the same account is a full member, hasAccess came back true - with enabled: false in both cases. Since the user-based billing docs only describe hasAccess semantics once an app has opted in, we don’t know if this is a real, stable signal of guest/product-access status, or coincidental.
Questions:
- Is there any officially supported way to determine guest vs. full-member status?
- Is
userAccess.hasAccessmeant to carry any meaning whenenabledisfalse, and could it reliably reflect guest status, or is that coincidental/unstable behavior we shouldn’t depend on?