How do i use operationService to check if a user can perform create page operation in space for confluence version 8.0.1. As currently I am getting read and export operationKey when using
spaceService.find()
.withKeys(spaceKey)
.fetch()
.map(content -> operationService.getAvailableOperations(Target.forModelObject(content)))
Also I don’t know how to get Person object for current user to be able to consume operationService.canPerform method.