RBACRole - addPermission

RBACRole - addPermission

Description :

This command adds a permission to a role. Returns the ACL.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

name

String

Name of the role whose ACL you want to change.

roleName

String

Name of the role.

authName

String

Name of the authorization.

Example

The following example shows how to add a permission consisting of the role "SampleRole" and the authorization "Role.Read" to the BLAdmins role.

Script

blcli RBACRole addPermission "BLAdmins" "SampleRole" "Role.Read" 

Was this page helpful? Yes No Submitting... Thank you

Comments