create_or_update_role
Define or modify user roles with specific permissions, enabling fine-grained access control for secure and tailored user management on the MCP Server for Coroot.
Instructions
Create or update a user role (admin only).
Defines custom roles with specific permissions for fine-grained access control.
Args: name: Role name permissions: List of permission strings description: Optional role description
Input Schema
Name | Required | Description | Default |
---|---|---|---|
description | No | ||
name | Yes | ||
permissions | Yes |
Input Schema (JSON Schema)
{
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Description"
},
"name": {
"title": "Name",
"type": "string"
},
"permissions": {
"items": {
"type": "string"
},
"title": "Permissions",
"type": "array"
}
},
"required": [
"name",
"permissions"
],
"type": "object"
}