Revision 3459 org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.lib/org.gvsig.vcsgis.lib.impl/src/main/java/org/gvsig/vcsgis/lib/workspace/tables/EntitiesTable.java

View differences:

EntitiesTable.java
592 592
                .setLabel("Label");
593 593
        ft.add(AUTHORIZATIONS, DataTypes.STRING)
594 594
                .setSize(10240)
595
                .setLabel("Authorizations");
595
                .setLabel("Authorizations")
596
                .setDefaultFieldValue("{\n" +
597
"  \"add\": [ \"*\" ],\n" +
598
"  \"checkout\": [ \"*\" ],\n" +
599
"  \"commit\": [ \"*\" ],\n" +
600
"  \"entities\": [ \"*\" ],\n" +
601
"  \"history\": [ \"*\" ],\n" +
602
"  \"topologyplans\": [ \"*\" ],\n" +
603
"  \"update\": [ \"*\" ],\n" +
604
"  \"users\": [ \"*\" ]\n" +
605
"}")
606
                .setDescription("Json with the information of what operations the different users can do.\nExample:\n{\n" +
607
"  \"add\": [ \"user1\", \"$admin\"],\n" +
608
"  \"checkout\": [ \"user1\", \"user2\"],\n" +
609
"  \"commit\": [ \"user1\" ],\n" +
610
"  \"entities\": [ \"user1\", \"user2\"],\n" +
611
"  \"history\": [ \"user1\" ],\n" +
612
"  \"topologyplans\": [ \"user1\", \"user2\"],\n" +
613
"  \"update\": [ \"user1\", \"user2\"],\n" +
614
"  \"users\": [ \"user1\", \"user2\"]\n" +
615
"}\n\n" +
616
"use $ before the name to indicate a role name instead of a username.");
596 617
        ft.add(DESCRIPTION, DataTypes.STRING)
597 618
                .setSize(10240)
598 619
                .setLabel("Description");

Also available in: Unified diff