Holger Knublauch

Restored old behavior of upload permission checks

...@@ -92,17 +92,15 @@ ...@@ -92,17 +92,15 @@
92 sp:arg1 [ sp:varName "company"^^xsd:string 92 sp:arg1 [ sp:varName "company"^^xsd:string
93 ] 93 ]
94 ] 94 ]
95 - ] [ rdf:type sp:Filter ; 95 + ] [ rdf:type sp:NotExists ;
96 - sp:expression 96 + sp:elements ([ sp:object
97 - [ rdf:type sp:not ; 97 + [ sp:varName "wellBore"^^xsd:string
98 - sp:arg1 [ rdf:type rhspin:npdTripleExists ; 98 + ] ;
99 - sp:arg1 [ sp:varName "wellBore"^^xsd:string 99 + sp:predicate rhspin:companyHasLicenceForWellBore ;
100 - ] ; 100 + sp:subject
101 - sp:arg2 <http://www.reportinghub.no/np/schema/npd#drillingOperator> ; 101 + [ sp:varName "company"^^xsd:string
102 - sp:arg3 [ sp:varName "company"^^xsd:string 102 + ]
103 - ] 103 + ])
104 - ]
105 - ]
106 ] [ rdf:type sp:Bind ; 104 ] [ rdf:type sp:Bind ;
107 sp:expression 105 sp:expression
108 [ rdf:type sp:coalesce ; 106 [ rdf:type sp:coalesce ;
...@@ -122,7 +120,7 @@ ...@@ -122,7 +120,7 @@
122 sp:arg1 "Your company (" ; 120 sp:arg1 "Your company (" ;
123 sp:arg2 [ sp:varName "companyName"^^xsd:string 121 sp:arg2 [ sp:varName "companyName"^^xsd:string
124 ] ; 122 ] ;
125 - sp:arg3 ") is not the drilling operator of well bore " ; 123 + sp:arg3 ") does not hold a licence for well bore " ;
126 sp:arg4 [ sp:varName "displayName"^^xsd:string 124 sp:arg4 [ sp:varName "displayName"^^xsd:string
127 ] 125 ]
128 ] ; 126 ] ;
......