Commit 547d02d
committed
plugins/sudoers/lookup.c: fix NOTBEFORE to be able to deny
If someone specifies both a NOTBEFORE and a NOTAFTER rule, the NOTAFTER
rule always overrided the result of the NOTBEFORE. Let each of them be
able to deny.1 parent 2495425 commit 547d02d
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
| 272 | + | |
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| |||
0 commit comments