mirror of https://github.com/ghostfolio/ghostfolio
3 changed files with 11 additions and 5 deletions
@ -0,0 +1,6 @@ |
|||||
|
-- Grant the scope to update an account to the existing accesses of the model context protocol which can create an activity |
||||
|
UPDATE "Access" |
||||
|
SET "scopes" = array_append("scopes", 'account:update') |
||||
|
WHERE "type" = 'MCP' |
||||
|
AND 'activity:create' = ANY("scopes") |
||||
|
AND NOT ('account:update' = ANY("scopes")); |
||||
Loading…
Reference in new issue