Added option to set ACL on templates