Commit df31a0f
feat: auto-approve human join requests on invite acceptance
When a user accepts a human invite link, they are now automatically
approved and added as a company member. The manual approval step was
designed for agent onboarding where review is needed — for human
invites, the inviter already made the decision by sharing the link.
Agent join requests still require manual approval as before.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 40b3451 commit df31a0f
1 file changed
Lines changed: 42 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2358 | 2358 | | |
2359 | 2359 | | |
2360 | 2360 | | |
2361 | | - | |
| 2361 | + | |
2362 | 2362 | | |
2363 | 2363 | | |
2364 | 2364 | | |
| |||
2530 | 2530 | | |
2531 | 2531 | | |
2532 | 2532 | | |
| 2533 | + | |
| 2534 | + | |
| 2535 | + | |
| 2536 | + | |
| 2537 | + | |
| 2538 | + | |
| 2539 | + | |
| 2540 | + | |
| 2541 | + | |
| 2542 | + | |
| 2543 | + | |
| 2544 | + | |
| 2545 | + | |
| 2546 | + | |
| 2547 | + | |
| 2548 | + | |
| 2549 | + | |
| 2550 | + | |
| 2551 | + | |
| 2552 | + | |
| 2553 | + | |
| 2554 | + | |
| 2555 | + | |
| 2556 | + | |
| 2557 | + | |
| 2558 | + | |
| 2559 | + | |
| 2560 | + | |
| 2561 | + | |
| 2562 | + | |
| 2563 | + | |
| 2564 | + | |
| 2565 | + | |
| 2566 | + | |
2533 | 2567 | | |
2534 | 2568 | | |
2535 | 2569 | | |
| |||
2538 | 2572 | | |
2539 | 2573 | | |
2540 | 2574 | | |
2541 | | - | |
2542 | | - | |
2543 | | - | |
| 2575 | + | |
| 2576 | + | |
| 2577 | + | |
| 2578 | + | |
| 2579 | + | |
2544 | 2580 | | |
2545 | 2581 | | |
2546 | 2582 | | |
2547 | 2583 | | |
2548 | 2584 | | |
2549 | | - | |
| 2585 | + | |
| 2586 | + | |
2550 | 2587 | | |
2551 | 2588 | | |
2552 | 2589 | | |
| |||
0 commit comments