Skip to content

add api user perms

Anoop Rajendra edited this page May 15, 2017 · 1 revision

add api user perms

Usage

stack add api user perms {user} [perm=string]

Description

Set permission for user

Arguments

  • [user]

    Username

Parameters

  • {perm=string}

    RegExp of Commands that the user is allowed to run.

Examples

  • stack add user perm user1 perm='list.host.*'

    Allows 'user1' to run all commands that conform to the regular expression "list.host.*".

Clone this wiki locally