NIHVIVO-3523 Write the PermissionSetsLoader.

This commit is contained in:
j2blake 2011-12-20 21:24:52 +00:00
parent a9c7b3fead
commit 20b7f694d1
2 changed files with 313 additions and 34 deletions

View file

@ -1,10 +1,27 @@
# $This file is distributed under the terms of the license in /doc/license.txt$
@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#> .
@prefix simplePermission: <java:edu.cornell.mannlib.vitro.webapp.auth.permissions.SimplePermission#> .
auth:ADMIN
a auth:PermissionSet ;
rdfs:label "Site Admin" ;
auth:hasPermission simplePermission:ManageMenus ;
.
auth:CURATOR
a auth:PermissionSet ;
rdfs:label "Curator" ;
.
auth:EDITOR
a auth:PermissionSet ;
rdfs:label "Editor" ;
.
auth:SELF_EDITOR
a auth:PermissionSet ;
a auth:DefaultPermissionSetForNewUsers ;
rdfs:label "Self Editor" ;
.