Commit c9f3779
1342 allow to set permissions to exclude to empty array overriding defaults (#1347)
* adjustments
* Add function to define the list based on config key presence and provided default
* Add method to initialize permissions
* Set initial PermissionsToExclude property to empty array
* fix: Throw ArgumentNullException if null
* fix: Rename list to configuredList
* fix: Revert intial value of PermissionsToExclude to null
* fix: Add explanatory comment
* Cosmetic updates
---------
Co-authored-by: Waldek Mastykarz <waldek@mastykarz.nl>1 parent 1131f24 commit c9f3779
File tree
3 files changed
+34
-16
lines changed- DevProxy.Abstractions/Plugins
- DevProxy.Plugins
- Extensions
- Reporting
3 files changed
+34
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
117 | 141 | | |
118 | 142 | | |
119 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | 70 | | |
72 | 71 | | |
73 | 72 | | |
74 | | - | |
75 | 73 | | |
76 | 74 | | |
77 | 75 | | |
| |||
Lines changed: 10 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
| 64 | + | |
78 | 65 | | |
79 | 66 | | |
80 | 67 | | |
| |||
220 | 207 | | |
221 | 208 | | |
222 | 209 | | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
223 | 219 | | |
224 | 220 | | |
225 | 221 | | |
| |||
0 commit comments