diff --git a/admin/view_edit_user.html b/admin/view_edit_user.html index 5afe812..6d804a9 100644 --- a/admin/view_edit_user.html +++ b/admin/view_edit_user.html @@ -20,6 +20,7 @@
+ @@ -40,4 +41,4 @@
-{{end}} \ No newline at end of file +{{end}} diff --git a/user/user.go b/user/user.go index e826134..2854e6d 100644 --- a/user/user.go +++ b/user/user.go @@ -48,6 +48,7 @@ var minimalRights = map[string]int{ var groups = []string{ "anon", + "reader", "editor", "trusted", "moderator", @@ -57,6 +58,7 @@ var groups = []string{ // Group — Right level var groupRight = map[string]int{ "anon": 0, + "reader": 0, "editor": 1, "trusted": 2, "moderator": 3,