浏览代码

added p5:allow_create to DescribeFeatureTypeAdvanced in wfs-data

Piotr Labudda 10 年之前
父节点
当前提交
45ab65030a
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      SE/se-lib/Api/WfsServerBase.php

+ 3 - 0
SE/se-lib/Api/WfsServerBase.php

@@ -1466,6 +1466,9 @@ if($DBG){echo 'L.' . __LINE__ . ' $validateConvertedTransactionXsdString:';print
 					if ($idZasob > 0 && $acl->hasFieldPerm($idZasob, 'W')) {
 						$elNode->setAttributeNS($rootWfsNsUri, "{$rootWfsNs}:allow_write", "true");
 					}
+					if ($idZasob > 0 && $acl->hasFieldPerm($idZasob, 'C')) {
+						$elNode->setAttributeNS($rootWfsNsUri, "{$rootWfsNs}:allow_create", "true");
+					}
 				}
 			}