
Create a new annotation for properties and classes, HiddenFromPublishBelowRoleLevelAnnot. Provide the means to initialize these annotations, edit them, and display them in the verbose property display. Create a Permission and some requested actions so the policies can decide which statements must be filtered out, based on the user's role. Add unit tests and improve acceptance tests
6 lines
311 B
Text
6 lines
311 B
Text
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
|
@prefix auth: <http://vitro.mannlib.cornell.edu/ns/vitro/authorization#> .
|
|
@prefix simplePermission: <java:edu.cornell.mannlib.vitro.webapp.auth.permissions.SimplePermission#> .
|
|
|
|
auth:ADMIN
|
|
auth:hasPermission simplePermission:UseSparqlUpdateApi ;
|