public Object acceptVisit(WorkspaceVisitor visitor) throws Exception {
visitor.visitSection(this);
//Visit permissions
Policy securityPolicy = SecurityServices.lookup().getSecurityPolicy();
Map workspacePermissions = securityPolicy.getPermissions(this, WorkspacePermission.class);
Map panelPermissions = securityPolicy.getPermissions(this, PanelPermission.class);
Map sectionPermissions = securityPolicy.getPermissions(this, SectionPermission.class);
Map[] permissions = new Map[]{workspacePermissions, panelPermissions, sectionPermissions};
for (int i = 0; i < permissions.length; i++) {
Map permissionMap = permissions[i];
for (Iterator it = permissionMap.keySet().iterator(); it.hasNext();) {
Principal principal = (Principal) it.next();