Commit Graph

1719 Commits

Author SHA1 Message Date
Johannes Zellner
71bfc1cbda Ensure we never go below minimum memoryLimit 2016-02-11 18:13:42 +01:00
Johannes Zellner
489ea3a980 Add memoryLimit validation 2016-02-11 17:39:15 +01:00
Johannes Zellner
8c6f655628 Ensure we deal with byte values for memoryLimit 2016-02-11 17:29:00 +01:00
Johannes Zellner
75d22d7988 Introduce memoryLimit to apps routes 2016-02-11 17:00:21 +01:00
Johannes Zellner
a7bf043a9e Improve memory limit ui 2016-02-11 16:31:11 +01:00
Johannes Zellner
402385faca Remove unused linter options 2016-02-11 14:35:51 +01:00
Johannes Zellner
cdd82fa456 Add access restriction by group ui to app configure dialog 2016-02-11 14:14:51 +01:00
Johannes Zellner
2f7d99f3f6 Do not allow to remove the user from the admin group 2016-02-11 13:43:02 +01:00
Johannes Zellner
e4799991ec Remove reference to non-existing css selector form-signin 2016-02-11 12:53:35 +01:00
Johannes Zellner
66167e74dc Cleanup the user forms 2016-02-11 12:50:02 +01:00
Johannes Zellner
5643d49bef Check if user deletion actually affected a row 2016-02-11 12:07:43 +01:00
Johannes Zellner
81ec26e45c Ensure we can delete users which belong to a group 2016-02-11 12:02:35 +01:00
Johannes Zellner
72c5ebcc06 Add user api tests for adding/removing from admin group 2016-02-11 11:39:19 +01:00
Johannes Zellner
ecf7575dd3 UserError.NOT_ALLOWED is not unused 2016-02-11 11:32:48 +01:00
Johannes Zellner
98a7f44dc1 Check for last admin not required anymore
This is now prevented by the fact that an admin
cannot remove itself from the admin group. There
remains a race, just like before, where two admins could
trigger an admin group removal of the other admin in parallel
and the calls are in a state after admin flag check of
the used tokens. This can only be prevented with a db constraint
in the end.
2016-02-11 11:30:21 +01:00
Johannes Zellner
5fce9c8d1f Do not allow an admin remove itself from admins group 2016-02-11 11:29:04 +01:00
Johannes Zellner
0ea89fccb8 Remove admin api route tests 2016-02-11 11:26:35 +01:00
Johannes Zellner
2c2922d725 Make tests succeed for now
We still have to bring back the sending of email when admins are changed
2016-02-11 11:26:35 +01:00
Johannes Zellner
fbeefeca7d setGroups() has no result 2016-02-11 11:26:35 +01:00
Johannes Zellner
163ceef527 Remove the admin toggle route 2016-02-11 11:26:35 +01:00
Girish Ramakrishnan
db5cc1f694 dropping groupMembers table makes not much sense 2016-02-10 08:57:06 -08:00
Johannes Zellner
a3b9a7365c No need to check for admin, the whole view is admin only 2016-02-10 17:35:40 +01:00
Johannes Zellner
213b2a2802 show groups of each user 2016-02-10 17:34:29 +01:00
Johannes Zellner
229d09bb9e Give the group buttons some space 2016-02-10 17:26:51 +01:00
Johannes Zellner
f127680c8c Fixup the group delete dialog title 2016-02-10 17:23:42 +01:00
Johannes Zellner
f767f7f1b9 We do not actually allow group edit 2016-02-10 17:22:04 +01:00
Johannes Zellner
acb1afa955 Make delete action the last one 2016-02-10 17:20:24 +01:00
Johannes Zellner
d132109925 Fixup the modal dialog css selector 2016-02-10 17:16:50 +01:00
Johannes Zellner
820e417026 angular requires special treatment for DELETE 2016-02-10 17:12:58 +01:00
Johannes Zellner
94bd0c606b Add group removal ui 2016-02-10 16:59:24 +01:00
Johannes Zellner
9a8328e6db We should really use camelCase 2016-02-10 16:43:23 +01:00
Johannes Zellner
5c75d64a07 Do not forget to reset the busy state 2016-02-10 16:41:32 +01:00
Johannes Zellner
a8001995c8 Add business logic for group adding 2016-02-10 16:37:58 +01:00
Johannes Zellner
9ba4d52fb7 Add Client.createGroup() 2016-02-10 16:37:46 +01:00
Johannes Zellner
0e613a1cab Ensure focus 2016-02-10 16:25:38 +01:00
Johannes Zellner
cf3d503a74 Add group add form 2016-02-10 16:24:25 +01:00
Johannes Zellner
1ab46a96f9 Reset the user edit form password error 2016-02-10 15:18:36 +01:00
Johannes Zellner
1a3164ef32 Add ui components for group management 2016-02-10 15:15:09 +01:00
Johannes Zellner
bd62efcff5 That api is of course a PUT api 2016-02-10 15:01:51 +01:00
Johannes Zellner
7fc37b7c70 Allow admins to edit other users 2016-02-10 14:48:54 +01:00
Johannes Zellner
8ddccae15a Save the groups on user edit 2016-02-10 14:47:49 +01:00
Johannes Zellner
675d7c8730 Add Client.setGroups() 2016-02-10 14:47:35 +01:00
Johannes Zellner
ba35d4a313 remove unused class 2016-02-10 14:40:29 +01:00
Johannes Zellner
c1280ddcc2 Make group buttons toggle able 2016-02-10 14:39:49 +01:00
Johannes Zellner
36ded4c06a Group -> Groups 2016-02-10 14:26:17 +01:00
Johannes Zellner
9fb276019e Add ui elements for group selection 2016-02-10 14:26:04 +01:00
Johannes Zellner
19982b1815 Add Client.getGroups() 2016-02-10 14:25:08 +01:00
Johannes Zellner
459d5b8f60 Adjust user action buttons 2016-02-10 14:07:37 +01:00
Johannes Zellner
8ba5dc2352 Fix indentation 2016-02-10 13:55:49 +01:00
Johannes Zellner
8c73a7c7c2 Send admin flag with user profile 2016-02-10 13:35:16 +01:00