Add --dangerously-skip-permissions for headless team provisioning
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
895fe2c0de
commit
b7b29898fc
1 changed files with 2 additions and 0 deletions
|
|
@ -644,6 +644,7 @@ export class TeamProvisioningService {
|
||||||
'user,project,local',
|
'user,project,local',
|
||||||
'--disallowedTools',
|
'--disallowedTools',
|
||||||
'TeamDelete,TodoWrite',
|
'TeamDelete,TodoWrite',
|
||||||
|
'--dangerously-skip-permissions',
|
||||||
],
|
],
|
||||||
{
|
{
|
||||||
cwd: request.cwd,
|
cwd: request.cwd,
|
||||||
|
|
@ -913,6 +914,7 @@ export class TeamProvisioningService {
|
||||||
'user,project,local',
|
'user,project,local',
|
||||||
'--disallowedTools',
|
'--disallowedTools',
|
||||||
'TeamDelete,TodoWrite',
|
'TeamDelete,TodoWrite',
|
||||||
|
'--dangerously-skip-permissions',
|
||||||
];
|
];
|
||||||
if (previousSessionId) {
|
if (previousSessionId) {
|
||||||
launchArgs.push('--resume', previousSessionId);
|
launchArgs.push('--resume', previousSessionId);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue