@servicenow/sdk - v4.13.3
Preparing search index...
@servicenow/sdk/automation
<internal>
sys_scope_privilege
Interface sys_scope_privilege
interface
sys_scope_privilege
{
operation
:
Typed
<
"read"
|
"delete"
|
"create"
|
"execute"
|
"write"
,
{
choices
:
{
create
:
{
dependentValue
:
"sys_db_object"
;
label
:
"Create"
;
sequence
:
3
;
}
;
delete
:
{
dependentValue
:
"sys_db_object"
;
label
:
"Delete"
;
sequence
:
4
;
}
;
execute
:
[
{
dependentValue
:
"sys_script_include"
;
label
:
"Execute API"
;
sequence
:
6
;
}
,
{
dependentValue
:
"scriptable"
;
label
:
"Execute API"
;
sequence
:
7
}
,
]
;
read
:
{
dependentValue
:
"sys_db_object"
;
label
:
"Read"
;
sequence
:
1
}
;
write
:
{
dependentValue
:
"sys_db_object"
;
label
:
"Write"
;
sequence
:
2
}
;
}
;
default
:
"read"
;
dependent
:
"target_type"
;
dropdown
:
"dropdown_without_none"
;
label
:
"Operation"
;
mandatory
:
true
;
}
,
>
;
source_scope
:
Typed
<
|
string
|
Record
<
"sys_scope"
>
|
ExplicitKey
<
"sys_scope"
>
|
TableBrand
<
"sys_scope"
>
,
{
default
:
"javascript:gs.getCurrentApplicationId();"
;
label
:
"Source Scope"
;
mandatory
:
true
;
readOnly
:
true
;
readOnlyOption
:
"client_script_modifiable"
;
referenceQual
:
"restrict_runtime_access=true^sys_id=javascript:gs.getCurrentApplicationId()^EQ"
;
referenceTable
:
"sys_scope"
;
useReferenceQualifier
:
"simple"
;
}
,
>
;
status
:
Typed
<
"requested"
|
"allowed"
|
"denied"
,
{
choices
:
{
allowed
:
{
label
:
"Allowed"
;
sequence
:
3
}
;
denied
:
{
label
:
"Denied"
;
sequence
:
2
}
;
requested
:
{
label
:
"Requested"
;
sequence
:
1
}
;
}
;
default
:
"requested"
;
dropdown
:
"dropdown_without_none"
;
label
:
"Status"
;
}
,
>
;
target_name
:
Typed
<
string
,
{
label
:
"Target Name"
;
mandatory
:
true
;
maxLength
:
255
}
,
>
;
target_scope
:
Typed
<
|
string
|
Record
<
"sys_scope"
>
|
ExplicitKey
<
"sys_scope"
>
|
TableBrand
<
"sys_scope"
>
,
{
label
:
"Target Scope"
;
mandatory
:
true
;
referenceQual
:
"private=false^ORprivateISEMPTY^EQ"
;
referenceTable
:
"sys_scope"
;
useReferenceQualifier
:
"simple"
;
}
,
>
;
target_type
:
Typed
<
"sys_db_object"
|
"sys_script_include"
|
"scriptable"
,
{
choices
:
{
scriptable
:
{
label
:
"Scriptable"
;
sequence
:
3
}
;
sys_db_object
:
{
label
:
"Table"
;
sequence
:
1
}
;
sys_script_include
:
{
label
:
"Script Include"
;
sequence
:
2
}
;
}
;
default
:
"sys_db_object"
;
dropdown
:
"dropdown_without_none"
;
label
:
"Target Type"
;
mandatory
:
true
;
}
,
>
;
}
Hierarchy (
View Summary
)
Helper
<
typeof
sys_scope_privilege
>
sys_scope_privilege
Index
Properties
operation
source_
scope
status
target_
name
target_
scope
target_
type
Properties
Readonly
operation
operation
:
Typed
<
"read"
|
"delete"
|
"create"
|
"execute"
|
"write"
,
{
choices
:
{
create
:
{
dependentValue
:
"sys_db_object"
;
label
:
"Create"
;
sequence
:
3
;
}
;
delete
:
{
dependentValue
:
"sys_db_object"
;
label
:
"Delete"
;
sequence
:
4
}
;
execute
:
[
{
dependentValue
:
"sys_script_include"
;
label
:
"Execute API"
;
sequence
:
6
;
}
,
{
dependentValue
:
"scriptable"
;
label
:
"Execute API"
;
sequence
:
7
}
,
]
;
read
:
{
dependentValue
:
"sys_db_object"
;
label
:
"Read"
;
sequence
:
1
}
;
write
:
{
dependentValue
:
"sys_db_object"
;
label
:
"Write"
;
sequence
:
2
}
;
}
;
default
:
"read"
;
dependent
:
"target_type"
;
dropdown
:
"dropdown_without_none"
;
label
:
"Operation"
;
mandatory
:
true
;
}
,
>
Readonly
source_
scope
source_scope
:
Typed
<
|
string
|
Record
<
"sys_scope"
>
|
ExplicitKey
<
"sys_scope"
>
|
TableBrand
<
"sys_scope"
>
,
{
default
:
"javascript:gs.getCurrentApplicationId();"
;
label
:
"Source Scope"
;
mandatory
:
true
;
readOnly
:
true
;
readOnlyOption
:
"client_script_modifiable"
;
referenceQual
:
"restrict_runtime_access=true^sys_id=javascript:gs.getCurrentApplicationId()^EQ"
;
referenceTable
:
"sys_scope"
;
useReferenceQualifier
:
"simple"
;
}
,
>
Readonly
status
status
:
Typed
<
"requested"
|
"allowed"
|
"denied"
,
{
choices
:
{
allowed
:
{
label
:
"Allowed"
;
sequence
:
3
}
;
denied
:
{
label
:
"Denied"
;
sequence
:
2
}
;
requested
:
{
label
:
"Requested"
;
sequence
:
1
}
;
}
;
default
:
"requested"
;
dropdown
:
"dropdown_without_none"
;
label
:
"Status"
;
}
,
>
Readonly
target_
name
target_name
:
Typed
<
string
,
{
label
:
"Target Name"
;
mandatory
:
true
;
maxLength
:
255
}
,
>
Readonly
target_
scope
target_scope
:
Typed
<
|
string
|
Record
<
"sys_scope"
>
|
ExplicitKey
<
"sys_scope"
>
|
TableBrand
<
"sys_scope"
>
,
{
label
:
"Target Scope"
;
mandatory
:
true
;
referenceQual
:
"private=false^ORprivateISEMPTY^EQ"
;
referenceTable
:
"sys_scope"
;
useReferenceQualifier
:
"simple"
;
}
,
>
Readonly
target_
type
target_type
:
Typed
<
"sys_db_object"
|
"sys_script_include"
|
"scriptable"
,
{
choices
:
{
scriptable
:
{
label
:
"Scriptable"
;
sequence
:
3
}
;
sys_db_object
:
{
label
:
"Table"
;
sequence
:
1
}
;
sys_script_include
:
{
label
:
"Script Include"
;
sequence
:
2
}
;
}
;
default
:
"sys_db_object"
;
dropdown
:
"dropdown_without_none"
;
label
:
"Target Type"
;
mandatory
:
true
;
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
operation
source_
scope
status
target_
name
target_
scope
target_
type
@servicenow/sdk - v4.13.3
Loading...