2011-12-16 20:52:23 +00:00
|
|
|
# $This file is distributed under the terms of the license in /doc/license.txt$
|
|
|
|
|
2011-12-20 21:24:52 +00:00
|
|
|
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
2011-12-16 20:52:23 +00:00
|
|
|
@prefix auth: <http://vitro.mannlib.cornell.edu/ns/vitro/authorization#> .
|
2011-12-20 21:24:52 +00:00
|
|
|
@prefix simplePermission: <java:edu.cornell.mannlib.vitro.webapp.auth.permissions.SimplePermission#> .
|
2012-01-06 21:58:16 +00:00
|
|
|
@prefix displayByRole: <java:edu.cornell.mannlib.vitro.webapp.auth.permissions.DisplayByRolePermission#> .
|
2011-12-16 20:52:23 +00:00
|
|
|
|
|
|
|
auth:ADMIN
|
|
|
|
a auth:PermissionSet ;
|
2011-12-20 21:24:52 +00:00
|
|
|
rdfs:label "Site Admin" ;
|
2011-12-21 21:23:04 +00:00
|
|
|
|
|
|
|
# ADMIN-only permissions
|
2011-12-21 20:46:17 +00:00
|
|
|
auth:hasPermission simplePermission:AccessSpecialDataModels ;
|
2011-12-16 20:52:23 +00:00
|
|
|
auth:hasPermission simplePermission:ManageMenus ;
|
2011-12-21 20:46:17 +00:00
|
|
|
auth:hasPermission simplePermission:ManageProxies ;
|
|
|
|
auth:hasPermission simplePermission:ManageSearchIndex ;
|
|
|
|
auth:hasPermission simplePermission:ManageUserAccounts ;
|
|
|
|
auth:hasPermission simplePermission:RebuildVClassGroupCache ;
|
|
|
|
auth:hasPermission simplePermission:RefreshVisualizationCache ;
|
|
|
|
auth:hasPermission simplePermission:SeeStartupStatus ;
|
|
|
|
auth:hasPermission simplePermission:UseAdvancedDataToolsPages ;
|
|
|
|
auth:hasPermission simplePermission:UseMiscellaneousAdminPages ;
|
2011-12-21 21:23:04 +00:00
|
|
|
|
|
|
|
# permissions for CURATOR and above.
|
|
|
|
auth:hasPermission simplePermission:EditOntology ;
|
|
|
|
auth:hasPermission simplePermission:EditSiteInformation ;
|
|
|
|
auth:hasPermission simplePermission:ManagePortals ;
|
|
|
|
auth:hasPermission simplePermission:ManageTabs ;
|
|
|
|
auth:hasPermission simplePermission:SeeVerbosePropertyInformation ;
|
|
|
|
auth:hasPermission simplePermission:UseMiscellaneousCuratorPages ;
|
2011-12-21 21:41:13 +00:00
|
|
|
|
|
|
|
# permissions for EDITOR and above.
|
|
|
|
auth:hasPermission simplePermission:DoBackEndEditing ;
|
|
|
|
auth:hasPermission simplePermission:SeeIndividualEditingPanel ;
|
|
|
|
auth:hasPermission simplePermission:SeeRevisionInfo ;
|
|
|
|
auth:hasPermission simplePermission:SeeSiteAdminPage ;
|
|
|
|
auth:hasPermission simplePermission:UseMiscellaneousEditorPages ;
|
2011-12-21 22:08:33 +00:00
|
|
|
|
|
|
|
# permissions for ANY logged-in user.
|
|
|
|
auth:hasPermission simplePermission:DoFrontEndEditing ;
|
|
|
|
auth:hasPermission simplePermission:EditOwnAccount ;
|
|
|
|
auth:hasPermission simplePermission:ManageOwnProxies ;
|
|
|
|
auth:hasPermission simplePermission:QueryUserAccountsModel ;
|
|
|
|
auth:hasPermission simplePermission:UseBasicAjaxControllers ;
|
|
|
|
auth:hasPermission simplePermission:UseMiscellaneousPages ;
|
2011-12-22 15:33:48 +00:00
|
|
|
|
|
|
|
# permissions for ANY user, even if they are not logged in.
|
|
|
|
auth:hasPermission simplePermission:QueryFullModel ;
|
2012-01-06 21:58:16 +00:00
|
|
|
|
|
|
|
# role-based permissions for ADMIN
|
|
|
|
auth:hasPermission displayByRole:Admin ;
|
2011-12-16 20:52:23 +00:00
|
|
|
.
|
|
|
|
|
2011-12-20 21:24:52 +00:00
|
|
|
auth:CURATOR
|
|
|
|
a auth:PermissionSet ;
|
|
|
|
rdfs:label "Curator" ;
|
2011-12-21 21:23:04 +00:00
|
|
|
|
|
|
|
# permissions for CURATOR and above.
|
|
|
|
auth:hasPermission simplePermission:EditOntology ;
|
|
|
|
auth:hasPermission simplePermission:EditSiteInformation ;
|
|
|
|
auth:hasPermission simplePermission:ManagePortals ;
|
|
|
|
auth:hasPermission simplePermission:ManageTabs ;
|
|
|
|
auth:hasPermission simplePermission:SeeVerbosePropertyInformation ;
|
|
|
|
auth:hasPermission simplePermission:UseMiscellaneousCuratorPages ;
|
2011-12-21 21:41:13 +00:00
|
|
|
|
|
|
|
# permissions for EDITOR and above.
|
|
|
|
auth:hasPermission simplePermission:DoBackEndEditing ;
|
|
|
|
auth:hasPermission simplePermission:SeeIndividualEditingPanel ;
|
|
|
|
auth:hasPermission simplePermission:SeeRevisionInfo ;
|
|
|
|
auth:hasPermission simplePermission:SeeSiteAdminPage ;
|
|
|
|
auth:hasPermission simplePermission:UseMiscellaneousEditorPages ;
|
2011-12-21 22:08:33 +00:00
|
|
|
|
|
|
|
# permissions for ANY logged-in user.
|
|
|
|
auth:hasPermission simplePermission:DoFrontEndEditing ;
|
|
|
|
auth:hasPermission simplePermission:EditOwnAccount ;
|
|
|
|
auth:hasPermission simplePermission:ManageOwnProxies ;
|
|
|
|
auth:hasPermission simplePermission:QueryUserAccountsModel ;
|
|
|
|
auth:hasPermission simplePermission:UseBasicAjaxControllers ;
|
|
|
|
auth:hasPermission simplePermission:UseMiscellaneousPages ;
|
2011-12-22 15:33:48 +00:00
|
|
|
|
|
|
|
# permissions for ANY user, even if they are not logged in.
|
|
|
|
auth:hasPermission simplePermission:QueryFullModel ;
|
2012-01-06 21:58:16 +00:00
|
|
|
|
|
|
|
# role-based permissions for CURATOR
|
|
|
|
auth:hasPermission displayByRole:Curator ;
|
2011-12-20 21:24:52 +00:00
|
|
|
.
|
|
|
|
|
|
|
|
auth:EDITOR
|
|
|
|
a auth:PermissionSet ;
|
|
|
|
rdfs:label "Editor" ;
|
2011-12-21 21:41:13 +00:00
|
|
|
|
|
|
|
# permissions for EDITOR and above.
|
|
|
|
auth:hasPermission simplePermission:DoBackEndEditing ;
|
|
|
|
auth:hasPermission simplePermission:SeeIndividualEditingPanel ;
|
|
|
|
auth:hasPermission simplePermission:SeeRevisionInfo ;
|
|
|
|
auth:hasPermission simplePermission:SeeSiteAdminPage ;
|
|
|
|
auth:hasPermission simplePermission:UseMiscellaneousEditorPages ;
|
2011-12-21 22:08:33 +00:00
|
|
|
|
|
|
|
# permissions for ANY logged-in user.
|
|
|
|
auth:hasPermission simplePermission:DoFrontEndEditing ;
|
|
|
|
auth:hasPermission simplePermission:EditOwnAccount ;
|
|
|
|
auth:hasPermission simplePermission:ManageOwnProxies ;
|
|
|
|
auth:hasPermission simplePermission:QueryUserAccountsModel ;
|
|
|
|
auth:hasPermission simplePermission:UseBasicAjaxControllers ;
|
|
|
|
auth:hasPermission simplePermission:UseMiscellaneousPages ;
|
2011-12-22 15:33:48 +00:00
|
|
|
|
|
|
|
# permissions for ANY user, even if they are not logged in.
|
|
|
|
auth:hasPermission simplePermission:QueryFullModel ;
|
2012-01-06 21:58:16 +00:00
|
|
|
|
|
|
|
# role-based permissions for EDITOR
|
|
|
|
auth:hasPermission displayByRole:Editor ;
|
2011-12-20 21:24:52 +00:00
|
|
|
.
|
|
|
|
|
|
|
|
auth:SELF_EDITOR
|
|
|
|
a auth:PermissionSet ;
|
2011-12-22 15:33:48 +00:00
|
|
|
a auth:PermissionSetForNewUsers ;
|
2011-12-20 21:24:52 +00:00
|
|
|
rdfs:label "Self Editor" ;
|
2011-12-21 22:08:33 +00:00
|
|
|
|
|
|
|
# permissions for ANY logged-in user.
|
|
|
|
auth:hasPermission simplePermission:DoFrontEndEditing ;
|
|
|
|
auth:hasPermission simplePermission:EditOwnAccount ;
|
|
|
|
auth:hasPermission simplePermission:ManageOwnProxies ;
|
|
|
|
auth:hasPermission simplePermission:QueryUserAccountsModel ;
|
|
|
|
auth:hasPermission simplePermission:UseBasicAjaxControllers ;
|
|
|
|
auth:hasPermission simplePermission:UseMiscellaneousPages ;
|
2011-12-22 15:33:48 +00:00
|
|
|
|
|
|
|
# permissions for ANY user, even if they are not logged in.
|
|
|
|
auth:hasPermission simplePermission:QueryFullModel ;
|
2012-01-06 21:58:16 +00:00
|
|
|
|
|
|
|
# role-based permissions for SELF_EDITOR
|
|
|
|
# For role-based display, SelfEditor is like Public.
|
|
|
|
# SelfEditor uses its special permissions to edit/display its own values.
|
|
|
|
auth:hasPermission displayByRole:Public ;
|
2011-12-22 15:33:48 +00:00
|
|
|
.
|
|
|
|
|
|
|
|
auth:PUBLIC
|
|
|
|
a auth:PermissionSet ;
|
|
|
|
a auth:PermissionSetForPublic ;
|
|
|
|
rdfs:label "Public" ;
|
|
|
|
|
|
|
|
# permissions for ANY user, even if they are not logged in.
|
|
|
|
auth:hasPermission simplePermission:QueryFullModel ;
|
2012-01-06 21:58:16 +00:00
|
|
|
|
|
|
|
# role-based permissions for PUBLIC
|
|
|
|
auth:hasPermission displayByRole:Public ;
|
2011-12-20 21:24:52 +00:00
|
|
|
.
|