Skip to content

Commit

Permalink
feat: auth rule property
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Oct 29, 2021
1 parent e85aec4 commit d353e58
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/curvy-cherries-join.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hydrofoil/vocabularies": patch
---

Add `knossos:authorizationRule`
4 changes: 4 additions & 0 deletions ontologies/knossos.nq
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
<https://hypermedia.app/knossos#System> <http://www.w3.org/2000/01/rdf-schema#label> "System" <https://hypermedia.app/knossos#> .
<https://hypermedia.app/knossos#SystemAccount> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> <https://hypermedia.app/knossos#> .
<https://hypermedia.app/knossos#SystemAccount> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://xmlns.com/foaf/0.1/Agent> <https://hypermedia.app/knossos#> .
<https://hypermedia.app/knossos#authorizationRule> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> <https://hypermedia.app/knossos#> .
<https://hypermedia.app/knossos#authorizationRule> <http://www.w3.org/2000/01/rdf-schema#comment> "Adds authorization rules to customize handling of ACLs" <https://hypermedia.app/knossos#> .
<https://hypermedia.app/knossos#authorizationRule> <http://www.w3.org/2000/01/rdf-schema#domain> <https://hypermedia.app/knossos#Configuration> <https://hypermedia.app/knossos#> .
<https://hypermedia.app/knossos#authorizationRule> <http://www.w3.org/2000/01/rdf-schema#label> "authorizationRule" <https://hypermedia.app/knossos#> .
<https://hypermedia.app/knossos#beforeSave> <http://schema.org/rangeIncludes> <https://code.described.at/EcmaScript> <https://hypermedia.app/knossos#> .
<https://hypermedia.app/knossos#beforeSave> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> <https://hypermedia.app/knossos#> .
<https://hypermedia.app/knossos#beforeSave> <http://www.w3.org/2000/01/rdf-schema#comment> "Links to code which will be executed when an instance of given class is saved" <https://hypermedia.app/knossos#> .
Expand Down
7 changes: 7 additions & 0 deletions src/vocabulary/knossos.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,10 @@ knossos:middleware
rdfs:label "middleware" ;
rdfs:comment "Used to add express middleware to knossos API" ;
.

knossos:authorizationRule
a rdf:Property ;
rdfs:domain knossos:Configuration ;
rdfs:label "authorizationRule" ;
rdfs:comment "Adds authorization rules to customize handling of ACLs" ;
.

0 comments on commit d353e58

Please sign in to comment.