oncall-engine/engine/apps/api/views
Vadim Stepanov ed98178b53
Wrong team error for alert groups page (#337)
* WIP

* WIP added stub for getAlert endpoint

* add TeamFilteringMixin

* handle 403 wrong_team for alert group page

* use TeamFilteringMixin only for alert groups

* return original_get_object for schedules and webhooks

* lint

* fix texts

* add support for None in 403 response, add comments

* handle NotFound in retreive

* remove comments

* use HTTP_403_FORBIDDEN

Co-authored-by: Yulia Shanyrova <yulia.shanyrova@grafana.com>
2022-08-17 10:46:53 +03:00
..
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
alert_group.py Wrong team error for alert groups page (#337) 2022-08-17 10:46:53 +03:00
alert_receive_channel.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
alert_receive_channel_template.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
apns_device.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
auth.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
channel_filter.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
custom_button.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
escalation_chain.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
escalation_policy.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
features.py Fix default value for OSS_INSTALLATION 2022-06-08 20:23:26 +04:00
gitops.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
integration_heartbeat.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
live_setting.py Fix circular import for CloudConnector (#329) 2022-08-03 12:43:28 +01:00
maintenance.py Show only maintenances for current team (#287) 2022-07-25 11:09:06 +01:00
on_call_shifts.py Add shift preview endpoint for web schedule 2022-08-16 10:50:16 -03:00
organization.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
organization_log_record.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
preview_template_options.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
public_api_tokens.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
resolution_note.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
route_regex_debugger.py Optimize alert group list view (#299) 2022-07-27 14:14:59 +03:00
schedule.py Fix to check for final type in schedule filter_events 2022-08-16 10:50:16 -03:00
slack_channel.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
slack_team_settings.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
subscription.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
team.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
telegram_channels.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_insight_logs.py Fix propagation for the insight logger 2022-07-25 12:59:12 +04:00
user.py Add fixes for the mobile app 2022-07-20 10:26:14 +03:00
user_group.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
user_notification_policy.py World, meet OnCall! 2022-06-03 08:09:47 -06:00