mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-07-27 11:41:36 +00:00
Require authentication for accessing MCP tools
This commit is contained in:
parent
8b484d5776
commit
32669b2cc0
3 changed files with 14 additions and 0 deletions
|
|
@ -381,7 +381,12 @@ perms: # Here comes a list with all Permission names (they have a perm_[name] co
|
|||
access_api:
|
||||
label: "perm.api.access_api"
|
||||
apiTokenRole: ROLE_API_READ_ONLY
|
||||
use_mcp:
|
||||
label: "perm.api.use_mcp"
|
||||
alsoSet: [ 'access_api' ]
|
||||
apiTokenRole: ROLE_API_READ_ONLY
|
||||
manage_tokens:
|
||||
label: "perm.api.manage_tokens"
|
||||
alsoSet: ['access_api']
|
||||
apiTokenRole: ROLE_API_FULL
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue