aboutsummaryrefslogtreecommitdiffstats
path: root/bsfs/graph/ac/null.py
diff options
context:
space:
mode:
authorMatthias Baumgartner <dev@igsor.net>2023-01-21 18:27:22 +0100
committerMatthias Baumgartner <dev@igsor.net>2023-01-21 18:27:22 +0100
commitc196d2ce73d8351a18c19bcddd4b06d224e644fc (patch)
tree19c383d39304c4a08c998ebcb05d1775810034ab /bsfs/graph/ac/null.py
parent965f4dfe41afd552ed6477c75e1286c14e3580f6 (diff)
downloadbsfs-c196d2ce73d8351a18c19bcddd4b06d224e644fc.tar.gz
bsfs-c196d2ce73d8351a18c19bcddd4b06d224e644fc.tar.bz2
bsfs-c196d2ce73d8351a18c19bcddd4b06d224e644fc.zip
Fetch in graph including results view
Diffstat (limited to 'bsfs/graph/ac/null.py')
-rw-r--r--bsfs/graph/ac/null.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bsfs/graph/ac/null.py b/bsfs/graph/ac/null.py
index 12b4e87..6a923a5 100644
--- a/bsfs/graph/ac/null.py
+++ b/bsfs/graph/ac/null.py
@@ -54,4 +54,8 @@ class NullAC(base.AccessControlBase):
"""Re-write a filter *query* to get (i.e., read) *node_type* nodes."""
return query
+ def fetch_read(self, node_type: schema.Node, query: ast.fetch.FetchExpression) -> ast.fetch.FetchExpression:
+ """Re-write a fetch *query* to get (i.e, read) values for *node_type* nodes."""
+ return query
+
## EOF ##