Commit 65e7fe0
committed
The access check on properties for an instance of a class
(e.g. .../user/1) was not correct. As a result the access rights on the
class not the access right to an instance of a class were checked.
This fixes the code so the instance rights are checked the same as
calling: .../user/1/roles would.1 parent 43632c2 commit 65e7fe0
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
497 | | - | |
| 497 | + | |
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
| |||
0 commit comments