Commit 2e771db
committed
fix(secrets): show a renamed variable as a variable before save
The rename carried visibility into the save payload but not into the
render, which still resolved disclosure from server state only. The new
name has no server visibility yet, so the row defaulted to secret: it
jumped into Workspace secrets and bullet-masked a value the member can
plainly read, until save landed.1 parent 40c5188 commit 2e771db
1 file changed
Lines changed: 12 additions & 2 deletions
File tree
- apps/sim/app/workspace/[workspaceId]/settings/components/secrets/components/secrets-manager
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
904 | 904 | | |
905 | 905 | | |
906 | 906 | | |
907 | | - | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
908 | 912 | | |
909 | | - | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
910 | 920 | | |
911 | 921 | | |
912 | 922 | | |
| |||
0 commit comments