Commit e9cf135
committed
Improve ACL implementation
Take advantage of eager fetching and second-level cache for ACLs
Avoid querying the database in AclDao, models are already eagerly
fetched, so querying is pointless.
Remove ACL cache, ACLs are already stored in the second-level cache.
Use Spring-supplied ACL implementation1 parent d68d33a commit e9cf135
File tree
11 files changed
+446
-824
lines changed- gsec/src
- main
- java/gemma/gsec/acl/domain
- resources/gemma/gsec
- model
- test
- java/gemma/gsec/acl/domain
- resources/gemma/gsec
11 files changed
+446
-824
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 18 | + | |
21 | 19 | | |
| 20 | + | |
22 | 21 | | |
23 | | - | |
24 | 22 | | |
25 | 23 | | |
26 | 24 | | |
| |||
29 | 27 | | |
30 | 28 | | |
31 | 29 | | |
32 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
34 | | - | |
| 36 | + | |
35 | 37 | | |
36 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
37 | 43 | | |
38 | | - | |
39 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
40 | 48 | | |
41 | | - | |
42 | | - | |
| 49 | + | |
43 | 50 | | |
44 | | - | |
| 51 | + | |
45 | 52 | | |
46 | | - | |
47 | | - | |
48 | | - | |
| 53 | + | |
| 54 | + | |
49 | 55 | | |
| 56 | + | |
| 57 | + | |
50 | 58 | | |
0 commit comments