fixed writer role default permission creation
@@ -681,8 +681,6 @@ public class OSecurityShared implements OSecurityInternal {
ORule.ResourceGeneric.CLUSTER,
OMetadataDefault.CLUSTER_INTERNAL_NAME,
ORole.PERMISSION_READ);
- readerRole.addRule(ORule.ResourceGeneric.CLUSTER, "orole", ORole.PERMISSION_NONE);
- readerRole.addRule(ORule.ResourceGeneric.CLUSTER, "ouser", ORole.PERMISSION_NONE);
writerRole.addRule(ORule.ResourceGeneric.CLASS, null, ORole.PERMISSION_ALL);
writerRole.addRule(ORule.ResourceGeneric.CLASS, "OUser", ORole.PERMISSION_READ);
writerRole.addRule(ORule.ResourceGeneric.CLUSTER, null, ORole.PERMISSION_ALL);
@@ -1174,8 +1172,6 @@ public class OSecurityShared implements OSecurityInternal {
ORule.ResourceGeneric.CLUSTER,
OMetadataDefault.CLUSTER_INTERNAL_NAME,
ORole.PERMISSION_READ);
- readerRole.addRule(ORule.ResourceGeneric.CLUSTER, "orole", ORole.PERMISSION_NONE);
- readerRole.addRule(ORule.ResourceGeneric.CLUSTER, "ouser", ORole.PERMISSION_NONE);
writerRole.addRule(ORule.ResourceGeneric.CLASS, null, ORole.PERMISSION_ALL);
writerRole.addRule(ORule.ResourceGeneric.CLASS, "OUser", ORole.PERMISSION_READ);
writerRole.addRule(ORule.ResourceGeneric.CLUSTER, null, ORole.PERMISSION_ALL);
