diff --git a/modules/ROOT/pages/notifications/all-notifications.adoc b/modules/ROOT/pages/notifications/all-notifications.adoc index fd39dcf9..e0d8c181 100644 --- a/modules/ROOT/pages/notifications/all-notifications.adoc +++ b/modules/ROOT/pages/notifications/all-notifications.adoc @@ -3650,6 +3650,69 @@ m|WARNING |=== +[#_neo_clientnotification_security_shardedperformance] +=== Sharded privilege performance + +.Notification details +[cols="<1s,<4"] +|=== +|Neo4j code +m|Neo.ClientNotification.Security.ShardedPrivilegePerformance +|Title +a|Privilege with a severe performance impact on sharded databases. +|Description +a|The specified privilege severely reduces the performance of queries run on sharded databases. Consider excluding sharded databases for now. +|Category +m|SECURITY +|GQLSTATUS code +m|01N73 +|Status description +|warn: sharded privilege performance. +The specified privilege severely reduces the performance of queries run on sharded databases. Consider excluding sharded databases for now. +|Classification +m|SECURITY +|SeverityLevel +m|WARNING +|=== + +.Grant a property access rule privilege on all databases +[.tabbed-example] +===== +[.include-with-GQLSTATUS-code] +====== +Command:: ++ +[source, cypher] +---- +GRANT TRAVERSE ON GRAPH * TO ROLE exampleRole +---- + +Returned GQLSTATUS code:: +01N73 + +Returned status description:: +warn: sharded privilege performance. +The specified privilege severely reduces the performance of queries run on sharded databases. Consider excluding sharded databases for now. + +Suggestions for improvement:: +Grant the privilege explicitly to databases instead of to all. + +====== +[.include-with-neo4j-code] +====== +Command:: ++ +[source, cypher] +---- +GRANT TRAVERSE ON GRAPH * TO ROLE exampleRole +---- + +Suggestions for improvement:: +Grant the privilege explicitly to databases instead of to all. +====== +===== + + [#_topology_notifications] == `TOPOLOGY` notifications