oncall-engine/engine/apps/grafana_plugin
Ildar Iskhakov 1fc3f6d301
Refactor plugin sync (#1200)
# What this PR does

This PR adds a shortcut in the plugin synchronisation process, so the
existing users will be able login without waiting for the sync task.
Every request still starts the background synchronisation task, to be
able to propagate the organisation changes faster than periodic task. It
means that we don't necessarily need "force reload" button in the
interface.
For all the other cases (user does not exist, organisation token "not
ok", etc) process remains same - plugin will show "Initialising
plugin..." until the background task in successfully completed

Co-authored-by: Joey Orlando <joey.orlando@grafana.com>
2023-01-25 09:12:08 +08:00
..
helpers Sync users and teams on tf requests (#1180) 2023-01-24 13:44:07 +08:00
tasks Sync users and teams on tf requests (#1180) 2023-01-24 13:44:07 +08:00
tests refactor the is_rbac_permissions_enabled check to be more robust (#1099) 2023-01-11 12:48:30 +01:00
views Refactor plugin sync (#1200) 2023-01-25 09:12:08 +08:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
apps.py Get rid of installation token + add a bunch of tests (#624) 2022-11-21 16:26:00 +01:00
permissions.py Get rid of installation token + add a bunch of tests (#624) 2022-11-21 16:26:00 +01:00
urls.py Get rid of installation token + add a bunch of tests (#624) 2022-11-21 16:26:00 +01:00