-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
f5d66a5
commit f9dee0f
Showing
11 changed files
with
179 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?xml version='1.0' encoding='utf-8'?> | ||
|
||
<knora xmlns="https://dasch.swiss/schema" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="https://dasch.swiss/schema ../../../src/dsp_tools/resources/schema/data.xsd" | ||
shortcode="9999" | ||
default-ontology="onto"> | ||
|
||
<permissions id="open"> | ||
<allow group="UnknownUser">V</allow> | ||
<allow group="KnownUser">V</allow> | ||
<allow group="ProjectMember">D</allow> | ||
<allow group="ProjectAdmin">CR</allow> | ||
</permissions> | ||
<permissions id="restricted-view"> | ||
<allow group="UnknownUser">RV</allow> | ||
<allow group="KnownUser">RV</allow> | ||
<allow group="ProjectMember">D</allow> | ||
<allow group="ProjectAdmin">CR</allow> | ||
</permissions> | ||
<permissions id="restricted"> | ||
<allow group="ProjectMember">D</allow> | ||
<allow group="ProjectAdmin">CR</allow> | ||
</permissions> | ||
|
||
<resource label="Empty" restype=":ClassWithEverything" id="resource_1"/> | ||
<resource label="Empty" restype=":ClassWithEverything" id="resource_2"/> | ||
|
||
<link label="Link object" id="link_obj_no_comment"> | ||
<resptr-prop name="hasLinkTo"> | ||
<resptr>resource_1</resptr> | ||
<resptr>resource_2</resptr> | ||
</resptr-prop> | ||
</link> | ||
|
||
<link label="Link object" id="link_obj_with_comment"> | ||
<text-prop name="hasComment"> | ||
<text encoding="xml">Comment Text</text> | ||
</text-prop> | ||
<resptr-prop name="hasLinkTo"> | ||
<resptr>resource_1</resptr> | ||
<resptr>resource_2</resptr> | ||
</resptr-prop> | ||
</link> | ||
|
||
</knora> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version='1.0' encoding='utf-8'?> | ||
|
||
<knora xmlns="https://dasch.swiss/schema" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="https://dasch.swiss/schema ../../../src/dsp_tools/resources/schema/data.xsd" | ||
shortcode="9999" | ||
default-ontology="onto"> | ||
|
||
<permissions id="open"> | ||
<allow group="UnknownUser">V</allow> | ||
<allow group="KnownUser">V</allow> | ||
<allow group="ProjectMember">D</allow> | ||
<allow group="ProjectAdmin">CR</allow> | ||
</permissions> | ||
<permissions id="restricted-view"> | ||
<allow group="UnknownUser">RV</allow> | ||
<allow group="KnownUser">RV</allow> | ||
<allow group="ProjectMember">D</allow> | ||
<allow group="ProjectAdmin">CR</allow> | ||
</permissions> | ||
<permissions id="restricted"> | ||
<allow group="ProjectMember">D</allow> | ||
<allow group="ProjectAdmin">CR</allow> | ||
</permissions> | ||
|
||
|
||
<!-- 1 Violations --> | ||
|
||
<!-- link target does not exist --> | ||
|
||
<link label="Link object" id="link_obj_target_non_existent"> | ||
<resptr-prop name="hasLinkTo"> | ||
<resptr>non_existing_link_target</resptr> | ||
</resptr-prop> | ||
</link> | ||
|
||
</knora> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters