login Signup

How to use AclEntry DSL for Custom Server Properties?

I have a DSL file called acl.groovy with the following lines:

aclEntry ( principalType: 'group', principalName: 'Test-Group-Name', path: '/server/ec_dashboards', readPrivilege: 'allow', modifyPrivilege : 'allow', executePrivilege: 'inherit', changePermissionsPrivilege: 'inherit' )

But when I run the following command, I get an error:

/opt/electriccloud/electriccommander/bin/ectool evalDsl --dslFile ./acl.groovy

 Checking if aclEntry exists with args {principalType=group, principalName=Test-Group-Name, path=/server/ec_dashboards, readPrivilege=allow, modifyPrivilege=allow, executePrivilege=inherit, changePermissionsPrivilege=inherit}
 objectType must be specified if acl entry is not enclosed within a dsl method.

What objectType should I use? I've tried "server" and "systemObject", but then the path is ignored and the ACL entry is applied at the Server level (but I need it on the individual propertySheet).

The following ectool command gives me exactly what I need: /opt/electriccloud/electriccommander/bin/ectool createAclEntry --path /server/ec_dashboards --principalType group --principalName Test-Group-Name --readPrivilege allow

avatar image By mwalton.ihg 51 asked Jun 28 at 12:35 PM
more ▼
(comments are locked)
10|750 characters needed characters left

1 answer: sort voted first


objectType: "propertySheet"

avatar image By lrochette 6k answered Jun 28 at 04:04 PM
more ▼
(comments are locked)
10|750 characters needed characters left
Your answer
toggle preview:

Up to 8 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.