In a plugin, does PageManager.getPages only returns pages which the current user has permission?

王青 July 7, 2018

I want to develop a plugin which will extract special contents in all other pages. So, 

  1. will the pageManager.getPages(space) return all pages (of the space) or only pages the current user has permission?
  2. if current user has no permission to view spaceA, will the pageManager.getPages(spaceA) return empty or not?

1 answer

0 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 8, 2024

Hi @王青 ,

I can confirm that api work based on user permission. pageManager.getPages(space) will return just pages with the user has access to.

Hope this helps,

Fabio

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events