Skip to content
Snippets Groups Projects
Verified Commit 79c037fa authored by magicfelix's avatar magicfelix
Browse files

Reformat

parent d25cbc10
No related branches found
No related tags found
1 merge request!1177Reformat
Pipeline #112829 failed
......@@ -971,7 +971,8 @@ class EditDashboardView(PermissionRequiredMixin, View):
if (
self.default_dashboard
and not request.user.has_perm("core.edit_default_dashboard_rule")
or getattr(request.user, "person", True) and getattr(request.user.person, "is_dummy", False)
or getattr(request.user, "person", True)
and getattr(request.user.person, "is_dummy", False)
):
raise PermissionDenied()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment