Table Of Contents

Previous topic

privilege

Next topic

privilege.delete

privilege.create

Creates a privilege.

name is a name for privilege (must be unique).

local_groups is a list of local user account group GIDs that gain this privilege.

ds_groups is list of Directory Service group GIDs that will gain this privilege.

roles is a list of roles to be assigned to the privilege

web_shell controls whether users with this privilege are allowed to log in to the Web UI.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: privilege_create

privilege_create

Type: object
No Additional Properties

Name

Type: string

Must be at least 1 characters long

Local Groups

Type: array of integer Default: []
No Additional Items
Each item of this array must be:
Type: integer

Ds Groups

Type: array Default: []
No Additional Items
Each item of this array must be:

Type: integer
Type: string

Roles

Type: array of string Default: []
No Additional Items
Each item of this array must be:
Type: string

Web Shell

Type: boolean

PrivilegeEntry

Type: object
No Additional Properties

Id

Type: integer

Builtin Name


Type: string
Type: null

Name

Type: string

Must be at least 1 characters long

Local Groups

Type: array
No Additional Items
Each item of this array must be:
Type: object

Ds Groups

Type: array
No Additional Items
Each item of this array must be:
Type: object

Roles

Type: array of string Default: []
No Additional Items
Each item of this array must be:
Type: string

Web Shell

Type: boolean


Required roles: