# HG changeset patch # User Thomas Junk # Date 1624286499 -7200 # Node ID 45b03e8ca47e7c9ee8875a47850545fededd769c # Parent 1fc454da7ee84d649323469959fc17b932491797 Toggles in user overview and in details section as well established This commit introduces toggles to change the state for administrative users to be able to receive the DQL Report. For quick access there is the possibility to change via overview. If you want to edit this in the details or if you change the role of the user to a non administrative, there is the possibility to change the flag in a fast way. When the user looses administrative privilege the option is not available and the according flag is set to "false". Aside: Changed user.go to resolve inconsitencies in frontend where the key "reports" was missing due to "omitempty" in marshalling the go objects. diff -r 1fc454da7ee8 -r 45b03e8ca47e client/src/components/usermanagement/Userdetail.vue --- a/client/src/components/usermanagement/Userdetail.vue Sun Jun 20 14:11:13 2021 +0200 +++ b/client/src/components/usermanagement/Userdetail.vue Mon Jun 21 16:41:39 2021 +0200 @@ -109,6 +109,21 @@ :passworderrors="errors.passwordre" /> +
+ + +
+
+ +