Commit 83849100 authored by Jonathan Shahen's avatar Jonathan Shahen

Prevent long lines in Mohawk files by printing newlines for CA and CR rules...

Prevent long lines in Mohawk files by printing newlines for CA and CR rules (WARNING: this breaks older versions of Mohawk 2.0 and Mohawk 1.0)
parent a4c952d5
......@@ -8,10 +8,10 @@ Users <users; separator=" ">;
UA \<<adminuser>,<adminrole>>;
<! CR <Admin,role0> <Admin,role2>; !>
CR <canrevoke:{cr|\<<adminrole>,<cr.role>>}; separator=" ">;
CR <canrevoke:{cr|\<<adminrole>,<cr.role>>}; separator="\n\t">;
<! CA <role3,role2,role0> <role3,role2&role1,role0> <role3,role2&role0,role1> <role3,TRUE,role1> <role3,role0,role1>; !>
CA <canassign:{ca|\<<adminrole>,<if(ca.precondition)><ca.precondition; separator="&"><else>TRUE<endif>,<ca.role>>}; separator=" ">;
CA <canassign:{ca|\<<adminrole>,<if(ca.precondition)><ca.precondition; separator="&"><else>TRUE<endif>,<ca.role>>}; separator="\n\t">;
<! ADMIN user4; !>
ADMIN <adminuser>;
......
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