Panel plugin get authenticated user

I am building a custom plugin to control some tasks on our server. I want to use the authenticated user for Grafana to allow/disallow tasks. For example organisation admins can run all tasks, editors can run some tasks etc.

Is there a way to securely fetch currently logged in Grafana user. This would prevent double authentication. If no suggest alternatives