Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

BlAclTemplate - addPermission


BlAclTemplate - addPermission

Description :

This command adds a permission entry to the access control list (ACL) controlling access to an ACL template. A permission consists of a role and an authorization.

You must call this command with a valid role name, authorization name, and ACL template name. Otherwise this command returns an error.

Valid authorizations for an ACL template are:

  • ACLTemplate.Read
  • ACLTemplate.Modify
  • ACLTemplate.ModifyACL
  • ACLTemplate.Delete
  • ACLTemplate.*
     Returns the DBKey of the ACL template.

    Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

name

String

Name of the ACL template.

roleName

String

Name of the role.

authName

String

Name of the authorization.

Example

The following example shows how to add the permission consisting of the role "SampleRole" and the authorization "ACLTemplate.Read" to an ACL template called "Test Template".

Script





BlAclTemplate addPermission "Test Template" SampleRole ACLTemplate.Read



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.5