HomeGetting StartedInstallation & SetupDevelopment & IntegrationDeployment & OperationsData ManagementTechnical SupportPlatform Updates
DocsDeployment & OperationsOperating Stardogcache security

Cache Security

This page discusses security for the cache and cache-target resource types in Stardog's security model.

<details open markdown="block"> <summary> Page Contents </summary> 1. TOC </details>

Overview

Cache security lets you specify what users are allowed to perform administrative tasks around cache and cache target management.

The functions involving cache security are limited to creating and deleting caches and cache targets and do not apply to a users ability to query a cached graph.

A common scenario with administrave cache permissions would be a user that has rights to create and administer a cache target on a specific node and a second user or users that have been given rights for creating, deleting and refeshing the cached graphs on a target. Such a scenario would require one user to have cache-target resource permissions and another user to have cache resource permissions as described in the following two sections.

Managing Cache Targets

To manage graph targets, the user must be granted access to the cache-target resource type. Depending on the function the user may also require access to the underlying cache database.

FunctionResources
Add cache targetCREATE on cache-target<br>CREATE on db
Orphan cache targetDELETE on cache-target
Remove cache targetDELETE on cache-target

Managing Cached Graphs

To manage cached graphs, the user must be granted access to the cache resource type. Depending on the function the user may also require access to the data sources and virtual graphs being cached.

FunctionResources
Create cacheCREATE on cache<br>READ on cache-target
Drop cacheDELETE on cache
Refresh cacheEXECUTE on cache<br>READ on cache
Get cache statusREAD on cache