diff options
| author | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-04-27 14:44:23 +0200 |
|---|---|---|
| committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-05-04 13:54:43 +0200 |
| commit | 65bea3f7d0bf30b5f9a9b3f94567474d3c8f7cbc (patch) | |
| tree | ff3b07de61b3a194de60ca55fbc675e1f1131e37 /spec/policies | |
| parent | 3629dc338fbe6c351ce89a94caa4c238965ee33a (diff) | |
| download | gitlab-ce-65bea3f7d0bf30b5f9a9b3f94567474d3c8f7cbc.tar.gz | |
Add `accepted_terms` to users
This will act as a cache, otherwise we would need to load the
`term_agreements` for a user on each request.
Using this field the result we're interested in is loaded when the
current user is loaded, without causing an extra query.
Diffstat (limited to 'spec/policies')
0 files changed, 0 insertions, 0 deletions
