create_space_role
Defines custom roles in Storyblok spaces by specifying permissions, allowed paths, field access, and other restrictions to manage user actions efficiently.
Instructions
Creates a new custom space role with specific permissions.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
allowed_languages | No | ||
allowed_paths | No | ||
asset_folder_ids | No | ||
branch_ids | No | ||
component_ids | No | ||
datasource_ids | No | ||
field_permissions | No | ||
permissions | No | ||
readonly_field_permissions | No | ||
role_name | Yes | ||
subtitle | No |
Input Schema (JSON Schema)
{
"properties": {
"allowed_languages": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Allowed Languages"
},
"allowed_paths": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Allowed Paths"
},
"asset_folder_ids": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Asset Folder Ids"
},
"branch_ids": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Branch Ids"
},
"component_ids": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Component Ids"
},
"datasource_ids": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Datasource Ids"
},
"field_permissions": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Field Permissions"
},
"permissions": {
"default": null,
"items": {
"type": "string"
},
"title": "Permissions",
"type": "array"
},
"readonly_field_permissions": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Readonly Field Permissions"
},
"role_name": {
"title": "Role Name",
"type": "string"
},
"subtitle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Subtitle"
}
},
"required": [
"role_name"
],
"title": "create_space_roleArguments",
"type": "object"
}