Added function for ACL to api.