jfrog_update_permission_resource
Update specific resource permissions in JFrog MCP Server by defining actions and targets for users or groups, enhancing access control for artifact, release bundle, or build resources.
Instructions
Update a specific resource type within a permission target
Input Schema
Name | Required | Description | Default |
---|---|---|---|
name | Yes | The name of the permission target | |
resource | Yes | ||
resourceType | Yes | The type of resource to update |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"name": {
"description": "The name of the permission target",
"type": "string"
},
"resource": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"actions": {
"additionalProperties": false,
"properties": {
"groups": {
"additionalProperties": {
"items": {
"enum": [
"READ",
"WRITE",
"ANNOTATE",
"DELETE",
"DISTRIBUTE",
"MANAGE"
],
"type": "string"
},
"type": "array"
},
"type": "object"
},
"users": {
"additionalProperties": {
"items": {
"enum": [
"READ",
"WRITE",
"ANNOTATE",
"DELETE",
"DISTRIBUTE",
"MANAGE"
],
"type": "string"
},
"type": "array"
},
"type": "object"
}
},
"required": [
"users"
],
"type": "object"
},
"targets": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"exclude_patterns": {
"items": {
"type": "string"
},
"type": "array"
},
"include_patterns": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"include_patterns",
"exclude_patterns"
],
"type": "object"
},
"type": "object"
}
},
"required": [
"actions",
"targets"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"actions": {
"$ref": "#/properties/resource/anyOf/0/properties/actions"
},
"targets": {
"additionalProperties": {
"$ref": "#/properties/resource/anyOf/0/properties/targets/additionalProperties"
},
"type": "object"
}
},
"required": [
"actions",
"targets"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"actions": {
"$ref": "#/properties/resource/anyOf/0/properties/actions"
},
"targets": {
"additionalProperties": {
"$ref": "#/properties/resource/anyOf/0/properties/targets/additionalProperties"
},
"type": "object"
}
},
"required": [
"actions",
"targets"
],
"type": "object"
}
]
},
"resourceType": {
"description": "The type of resource to update",
"enum": [
"artifact",
"release_bundle",
"build"
],
"type": "string"
}
},
"required": [
"name",
"resourceType",
"resource"
],
"type": "object"
}