Skip to content

Commit

Permalink
[kbss-cvut/record-manager-ui#202] Implement Role group configuration …
Browse files Browse the repository at this point in the history
…by model.ttl
  • Loading branch information
palagdan committed Sep 13, 2024
1 parent 3658446 commit eea4d41
Showing 1 changed file with 97 additions and 37 deletions.
134 changes: 97 additions & 37 deletions src/main/resources/model.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ rm:is-member-of rdf:type owl:ObjectProperty ;
rm:role-group rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf rm:relates-to .


### http://onto.fel.cvut.cz/ontologies/record-manager/relates-to
rm:relates-to rdf:type owl:ObjectProperty .

Expand All @@ -84,6 +83,16 @@ rm:has-phase rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf rdf:type ;
rdfs:label "has phase"@en .

### http://onto.fel.cvut.cz/ontologies/record-manager/has-role-group
rm:has-role-group rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf rm:relates-to;
rdfs:label "has role group"@en.

### http://onto.fel.cvut.cz/ontologies/record-manager/has-role
rm:has-role rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf rm:relates-to;
rdfs:label "has role"@en.


#################################################################
# Data properties
Expand Down Expand Up @@ -135,7 +144,6 @@ rm:token rdf:type owl:DatatypeProperty .
### http://xmlns.com/foaf/0.1/mbox
<http://xmlns.com/foaf/0.1/mbox> rdf:type owl:DatatypeProperty .


#################################################################
# Classes
#################################################################
Expand Down Expand Up @@ -203,55 +211,107 @@ rm:rejected-record-phase rdf:type owl:Class ;
rdfs:subClassOf rm:record-phase ;
rdfs:label "rejected record phase"@en .

### Generated by the OWL API (version 4.2.8.20170104-2310) https://github.com/owlcs/owlapi
### http://onto.fel.cvut.cz/ontologies/record-manager/role
rm:role rdf:type owl:Class;
rdfs:label "user role"@en .

### http://onto.fel.cvut.cz/ontologies/record-manager/role-group
rm:role-group rdf:type owl:Class;
rdfs:label "user role group" .


#################################################################
# New Roles
# Groups
#################################################################

### http://onto.fel.cvut.cz/ontologies/record-manager/operator-role-group
rm:operator-role-group rdf:type owl:NamedIndividual, rm:role-group;
rm:has-role rm:complete-records-role;
rdfs:label "operator role group"@en .

### http://onto.fel.cvut.cz/ontologies/record-manager/operator-admin-role-group
rm:operator-admin-role-group rdf:type owl:NamedIndividual, rm:role-group ;
rm:has-role rm:complete-records-role ,
rm:delete-organization-records-role ,
rm:edit-organization-records-role ,
rm:view-organization-records-role ,
rm:edit-users-role ,
rm:import-codelists-role ,
rm:publish-records-role ,
rm:reject-records-role ;
rdfs:label "operator-admin role group"@en .

### http://onto.fel.cvut.cz/ontologies/record-manager/supplier-role-group
rm:supplier-role-group rdf:type owl:NamedIndividual, rm:role-group ;
rm:has-role rm:complete-records-role ;
rdfs:label "supplier role group"@en .

### http://onto.fel.cvut.cz/ontologies/record-manager/operator-admin-role-group
rm:supplier-admin-role-group rdf:type owl:NamedIndividual, rm:role-group;
rm:has-role rm:complete-records-role ,
rm:delete-organization-records-role ,
rm:edit-organization-records-role ,
rm:view-organization-records-role ,
rm:edit-users-role ,
rm:import-codelists-role ,
rm:reject-records-role ,
rm:delete-all-records-role ,
rm:edit-all-records-role ,
rm:view-all-records-role ;
rdfs:label "supplier-admin role group"@en .

### http://onto.fel.cvut.cz/ontologies/record-manager/external-user-role-group
rm:external-user-role-group rdf:type owl:NamedIndividual, rm:role-group;
rm:has-role rm:complete-records-role;
rdfs:label "external user role group"@en .


### http://onto.fel.cvut.cz/ontologies/record-manager/complete-records
rm:complete-records rdf:type owl:Class ;
rdfs:label "Complete Records"@en .
#################################################################
# Roles
#################################################################

### http://onto.fel.cvut.cz/ontologies/record-manager/delete-all-records
rm:delete-all-records rdf:type owl:Class ;
rdfs:label "Delete All Records"@en .
### http://onto.fel.cvut.cz/ontologies/record-manager/complete-records-role
rm:complete-records-role rdf:type owl:NamedIndividual, rm:role ;
rdfs:label "complete records role"@en .

### http://onto.fel.cvut.cz/ontologies/record-manager/edit-all-records
rm:edit-all-records rdf:type owl:Class ;
rdfs:label "Edit All Records"@en .
### http://onto.fel.cvut.cz/ontologies/record-manager/delete-all-records-role
rm:delete-all-records-role rdf:type owl:NamedIndividual, rm:role ;
rdfs:label "delete all records role"@en .

### http://onto.fel.cvut.cz/ontologies/record-manager/view-all-records
rm:view-all-records rdf:type owl:Class ;
rdfs:label "View All Records"@en .
### http://onto.fel.cvut.cz/ontologies/record-manager/edit-all-records-role
rm:edit-all-records-role rdf:type owl:NamedIndividual, rm:role ;
rdfs:label "edit all records role"@en .

### http://onto.fel.cvut.cz/ontologies/record-manager/delete-organization-records
rm:delete-organization-records rdf:type owl:Class ;
rdfs:label "Delete Organization Records"@en .
### http://onto.fel.cvut.cz/ontologies/record-manager/view-all-records-role
rm:view-all-records-role rdf:type owl:NamedIndividual, rm:role ;
rdfs:label "view all records role"@en .

### http://onto.fel.cvut.cz/ontologies/record-manager/edit-organization-records
rm:edit-organization-records rdf:type owl:Class ;
rdfs:label "Edit Organization Records"@en .
### http://onto.fel.cvut.cz/ontologies/record-manager/delete-organization-records-role
rm:delete-organization-records-role rdf:type owl:NamedIndividual, rm:role ;
rdfs:label "delete organization records role"@en .

### http://onto.fel.cvut.cz/ontologies/record-manager/view-organization-records
rm:view-organization-records rdf:type owl:Class ;
rdfs:label "View Organization Records"@en .
### http://onto.fel.cvut.cz/ontologies/record-manager/edit-organization-records-role
rm:edit-organization-records-role rdf:type owl:NamedIndividual, rm:role;
rdfs:label "edit organization records role"@en .

### http://onto.fel.cvut.cz/ontologies/record-manager/edit-users
rm:edit-users rdf:type owl:Class ;
rdfs:label "Edit Users"@en .
### http://onto.fel.cvut.cz/ontologies/record-manager/view-organization-records-role
rm:view-organization-records-role rdf:type owl:NamedIndividual, rm:role;
rdfs:label "view organization records role"@en .

### http://onto.fel.cvut.cz/ontologies/record-manager/import-codelists
rm:import-codelists rdf:type owl:Class ;
rdfs:label "Import Codelists"@en .
### http://onto.fel.cvut.cz/ontologies/record-manager/edit-users-role
rm:edit-users-role rdf:type owl:NamedIndividual, rm:role;
rdfs:label "edit users role"@en .

### http://onto.fel.cvut.cz/ontologies/record-manager/publish-records
rm:publish-records rdf:type owl:Class ;
rdfs:label "Publish Records"@en .
### http://onto.fel.cvut.cz/ontologies/record-manager/import-codelists-role
rm:import-codelists-role rdf:type owl:NamedIndividual, rm:role;
rdfs:label "import codelists role"@en .

### http://onto.fel.cvut.cz/ontologies/record-manager/reject-records
rm:reject-records rdf:type owl:Class ;
rdfs:label "Reject Records"@en .
### http://onto.fel.cvut.cz/ontologies/record-manager/publish-records-role
rm:publish-records-role rdf:type owl:NamedIndividual, rm:role;
rdfs:label "publish records role"@en .

### http://onto.fel.cvut.cz/ontologies/record-manager/reject-records-role
rm:reject-records-role rdf:type owl:NamedIndividual, rm:role;
rdfs:label "reject records role"@en .

### Generated by the OWL API (version 4.2.8.20170104-2310) https://github.com/owlcs/owlapi

0 comments on commit eea4d41

Please sign in to comment.