Enforce protected labels
Enforce label protection through the API for applying labels, removing labels, and creating events and superevents with labels attached. We also don't allow users to reapply a signoff request label when a signoff status label is already applied (e.g., can't apply ADVREQ when ADVNO already exists).
Showing
- gracedb/api/v1/events/views.py 2 additions, 2 deletionsgracedb/api/v1/events/views.py
- gracedb/api/v1/superevents/serializers.py 46 additions, 2 deletionsgracedb/api/v1/superevents/serializers.py
- gracedb/api/v1/superevents/views.py 13 additions, 3 deletionsgracedb/api/v1/superevents/views.py
- gracedb/events/forms.py 18 additions, 0 deletionsgracedb/events/forms.py
- gracedb/events/models.py 12 additions, 0 deletionsgracedb/events/models.py
- gracedb/events/view_logic.py 19 additions, 4 deletionsgracedb/events/view_logic.py
- gracedb/events/views.py 11 additions, 7 deletionsgracedb/events/views.py
Loading
Please register or sign in to comment