ExecutionTask - removeAclPolicy
ExecutionTask - removeAclPolicy
Description :
This command removes an ACL policy from an execution task.
When an ACL policy is removed from an object, all access checks through that object's ACL will no longer check against the internal ACL of the ACL policy that was removed. No checks are made to make sure you do not lock yourself out of an object by removing a policy. This command returns the DBKey of the modified object.
Return type : DBKey
Command Input :
Variable Name |
Variable Type |
Description |
---|---|---|
etKey |
com.bladelogic.om.infra.model.base.keys.SExecutionTaskKey |
DBKey of the execution task. |
policyName |
String |
Name of the ACL policy to remove. |
Example
The following example shows how to remove an ACL policy called "Test Policy" from an execution task.
Script
ET_KEY=`blcli ExecutionTask getDBKeyByGroupAndName /tasks tstET`
MODIFIED_ET_KEY=`blcli ExecutionTask removeAclPolicy $ET_KEY "Test Policy"`
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.