Skip to content

Commit dd1de5d

Browse files
committed
Adjusting admin role starting privileges.
Signed-off-by: EdmondFrank <[email protected]>
1 parent 6b4a6ae commit dd1de5d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/compass_admin/user.ex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ defmodule CompassAdmin.User do
4545
|> validate_required([:name])
4646
end
4747

48-
def normal_role, do: 1
48+
def normal_role, do: 3
49+
50+
def community_role, do: 4
4951

5052
def frontend_dev_role, do: 5
5153

0 commit comments

Comments
 (0)