return false;
}
} else if (s.equals("codesign")) {
- if (actor.isInGroup(Group.CODESIGNING)) {
+ if ( !actor.isInGroup(Group.CODESIGNING)) {
+ return false;
+ }
+ } else if (s.equals("ocsp")) {
+ if ( !(owner instanceof Organisation)) {
+ return false;
+ }
+ Organisation o = (Organisation) owner;
+ if ( !o.isSelfOrganisation()) {
return false;
}
} else {