Commit 6b7e9a5
authored
Update search behavior for restricted issues. (#7529)
#### Rationale
Restricted issues were previously not getting indexed by the crawler
because the search user did not have access to all of the issues. If the
index were deleted, these issues would never reappear in the index
unless they were resaved by a user with access.
This change ensures that all restricted issues can be indexed by the
crawler. Additionally any restricted issues that appear in the search
summary will not render any comments. Instead, a warning will be
displayed to inform the user that they do not have access to that
restricted issue. As was the behavior prior, clicking on the details
link will generate an unauthorized exception.1 parent e9306bc commit 6b7e9a5
File tree
2 files changed
+54
-33
lines changed- issues/src/org/labkey/issue
- model
- view
2 files changed
+54
-33
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
948 | 948 | | |
949 | 949 | | |
950 | 950 | | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
951 | 956 | | |
952 | 957 | | |
953 | 958 | | |
| |||
968 | 973 | | |
969 | 974 | | |
970 | 975 | | |
971 | | - | |
972 | | - | |
973 | | - | |
974 | | - | |
975 | | - | |
976 | | - | |
977 | | - | |
978 | | - | |
979 | | - | |
980 | | - | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
981 | 979 | | |
982 | 980 | | |
983 | 981 | | |
| |||
1015 | 1013 | | |
1016 | 1014 | | |
1017 | 1015 | | |
| 1016 | + | |
| 1017 | + | |
1018 | 1018 | | |
1019 | 1019 | | |
1020 | 1020 | | |
| |||
1024 | 1024 | | |
1025 | 1025 | | |
1026 | 1026 | | |
1027 | | - | |
| 1027 | + | |
1028 | 1028 | | |
1029 | | - | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
1030 | 1041 | | |
1031 | 1042 | | |
1032 | 1043 | | |
1033 | 1044 | | |
1034 | | - | |
| 1045 | + | |
1035 | 1046 | | |
1036 | 1047 | | |
1037 | 1048 | | |
1038 | 1049 | | |
1039 | 1050 | | |
1040 | 1051 | | |
1041 | | - | |
| 1052 | + | |
1042 | 1053 | | |
1043 | | - | |
| 1054 | + | |
1044 | 1055 | | |
1045 | 1056 | | |
1046 | 1057 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | | - | |
30 | | - | |
| 30 | + | |
| 31 | + | |
31 | 32 | | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
50 | | - | |
| 53 | + | |
51 | 54 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
59 | 60 | | |
60 | | - | |
61 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
62 | 68 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
68 | 78 | | |
69 | 79 | | |
70 | 80 | | |
71 | 81 | | |
72 | | - | |
| 82 | + | |
73 | 83 | | |
74 | 84 | | |
75 | 85 | | |
| |||
0 commit comments