Commit f91bc60
Exclude metadata from dangerous permissions validation
The metadata permission is a built-in read-only permission and should not
be considered a dangerous permission. Updated findWritePermissions to skip
metadata (similar to how it skips id-token).
Fixes test failure in TestFindWritePermissions/write-all_shorthand.
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>1 parent 639f23a commit f91bc60
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
73 | 79 | | |
74 | 80 | | |
75 | 81 | | |
| |||
0 commit comments