aboutsummaryrefslogtreecommitdiffstats
path: root/bsfs/front/builder.py
diff options
context:
space:
mode:
Diffstat (limited to 'bsfs/front/builder.py')
-rw-r--r--bsfs/front/builder.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bsfs/front/builder.py b/bsfs/front/builder.py
index 73f1703..ecdc768 100644
--- a/bsfs/front/builder.py
+++ b/bsfs/front/builder.py
@@ -8,7 +8,7 @@ Author: Matthias Baumgartner, 2022
import typing
# bsfs imports
-from bsfs.graph import Graph
+from bsfs.graph import Graph, ac
from bsfs.triple_store import TripleStoreBase, SparqlStore
from bsfs.utils import URI, errors
@@ -68,8 +68,10 @@ def build_graph(cfg: typing.Any) -> Graph:
if 'backend' not in args:
raise errors.ConfigError('required argument "backend" is not provided')
backend = build_backend(args['backend'])
+ # build access controls
+ access_controls = ac.NullAC(backend, user)
# build and return graph
cls = _graph_classes[name]
- return cls(backend, user)
+ return cls(backend, access_controls)
## EOF ##