Commit 97c8008a authored by Peter Harrison's avatar Peter Harrison

[#56] Adding the system user by default when creating a new board.

parent e43fe346
......@@ -4,7 +4,7 @@
<name>Gravity Workflow Automation</name>
......@@ -155,6 +155,10 @@ public class SecurityToolImpl implements SecurityTool {
roles.put("administrators", "ADMIN");
if( roles.get("system")==null){
roles.put("system", "WRITE");
String username = getCurrentUser();
if( roles.get(username)==null){
roles.put(username, "ADMIN");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment