(Quick Reference)

readAcl

Purpose

Retrieves the ACL for a domain class instance.

Examples

def acl = aclUtilService.readAcl(reportInstance)

def acl = aclUtilService.readAcl(Report, 42)

Description

Acl readAcl(domainObject)

Acl readAcl(Class<?> domainClass, id)

Parameters

  • domainClass - the domain class, used when specifying the class and id
  • id - the instance id, used when specifying the class and id
  • domainObject - the domain class instance, used when the instance is available