Skip to content
Please update to the latest release 0.77.3 to address Multiple CVEs.
user_grant

user_grant

Function
Arg Description Type
user The user to create or update. string (required)
roles List of roles to give the user. list of string
orgs One or more org IDs to grant access to. If not specified we use current org list of string
policy A dict of permissions to set (e.g. as obtained from the gui_users() function). ordereddict.Dict

Required permissions: SERVER_ADMIN

Description

Grants the user the specified roles.