Skip to content

Commit

Permalink
fixing #272
Browse files Browse the repository at this point in the history
  • Loading branch information
danydvd committed Mar 14, 2018
1 parent ba77e8f commit 93b2e6c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/migration/Classes/Query/Query_Builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,11 @@ def generateQueries(self):
?permission webacl:accessTo ?resource ;
webacl:mode webacl:Read ;
webacl:agent ?accessRights .
}} .
}} .
OPTIONAL {{ ?permission_write webacl:accessTo ?resource ;
webacl:mode webacl:Write ;
webacl:agent ?accessRights . filter (not exists {{?permission_write webacl:accessTo ?resource ;
webacl:mode webacl:Read }})}} .
OPTIONAL {{
?resource acl:hasEmbargo ?embargo .
OPTIONAL {{ ?embargo acl:embargoReleaseDate ?available }} .
Expand Down

0 comments on commit 93b2e6c

Please sign in to comment.