ServerConfigDef - removeAclPolicy
ServerConfigDef - removeAclPolicy
Description :
This command removes an ACL policy from a Server Config Def.
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 one does not lock themselves out of an object by removing a policy.
For a list of valid osNshName values, see the addPermission command. Returns the DBKey of the modified object.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
configFileName | String | Name of the server configuration definition. |
osNshName | String | NSH name of its associated operating system. |
policyName | String | Name of the ACL policy to remove. |
Example
The following example shows how to remove an ACL policy called "Test Policy" from the Server Config Def named "Server Config Def".
Script
ServerConfigDef removeAclPolicy "Server Config Def" "Test Policy"