From within a Jira scriptrunner listener I would like to retrieve a confluence space and its permissions. Is this possible? I've not been able to find any documentation on it. Any assistance would be greatly appreciated.