Skip to content

Commit 4db102f

Browse files
Apply suggestion from @phil198
Co-authored-by: Phil Wright <[email protected]>
1 parent 1141aa6 commit 4db102f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/ROOT/pages/errors/gql-errors/42N0D.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ error: syntax error or access rule violation - cannot call function from this co
88

99
== Explanation
1010
This error is thrown when a function is called from a context that is not allowed for that function.
11-
For example, if you try to call `abac.oidc.user_attribute()` from a regular Cypher query, you will get this error, because it is not supported in user Cypher queries and can only be called from within `AUTH RULE` creation or alteration commands.
1211

1312
== Example scenario
14-
For example, calling an internal security function from a user query.
13+
If you try to call an internal security function like `abac.oidc.user_attribute()` from a regular Cypher query, you will get this error, because it is not supported in user Cypher queries and can only be called from within `AUTH RULE` creation or alteration commands.
1514

1615

1716
ifndef::backend-pdf[]

0 commit comments

Comments
 (0)