public class OrganizationPermission extends UserviewPermission implements PluginWebSupport, FormPermission {
@Override
public boolean isAuthorize() {
User user = getCurrentUser();
if (user != null && user.getEmployments() != null && user.getEmployments().size() > 0) {
Employment e = (Employment) user.getEmployments().iterator().next();
StringTokenizer strToken = new StringTokenizer(getPropertyString("allowedOrgIds"), ";");
while (strToken.hasMoreTokens()) {
String orgId = (String) strToken.nextElement();
if (orgId.equals(e.getOrganizationId())) {