Made changes to store permission info on the Event objects themselves. This...
Made changes to store permission info on the Event objects themselves. This speeds up some searches by an order of magnitude with respect to guardian's get_objects_for_user.
Showing
- gracedb/migrations/0019_auto__add_field_event_perms.py 230 additions, 0 deletionsgracedb/migrations/0019_auto__add_field_event_perms.py
- gracedb/migrations/0020_add_perms_on_existing_events.py 267 additions, 0 deletionsgracedb/migrations/0020_add_perms_on_existing_events.py
- gracedb/models.py 32 additions, 0 deletionsgracedb/models.py
- gracedb/reports.py 3 additions, 0 deletionsgracedb/reports.py
- gracedb/views.py 26 additions, 5 deletionsgracedb/views.py
Loading
Please register or sign in to comment