From 79b2cd367857e869b2861e0adf3ba7cefee5ca0e Mon Sep 17 00:00:00 2001 From: lidiazuin Date: Thu, 8 Dec 2022 15:31:54 +0100 Subject: [PATCH 1/4] removing additional quotation marks taht were incorrectly added to code --- .../pages/indexes-for-search-performance.adoc | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/modules/ROOT/pages/indexes-for-search-performance.adoc b/modules/ROOT/pages/indexes-for-search-performance.adoc index aa974c871..024e3c717 100644 --- a/modules/ROOT/pages/indexes-for-search-performance.adoc +++ b/modules/ROOT/pages/indexes-for-search-performance.adoc @@ -93,7 +93,7 @@ ON (n.propertyName_1[, n.propertyName_2, ... n.propertyName_n]) -[OPTIONS "{" option: value[, ...] "}"] +[OPTIONS { option: value[, ...] }] ---- | Description @@ -114,12 +114,12 @@ Index provider can be specified using the `OPTIONS` clause. [source, syntax, role="noheader"] ---- CREATE [RANGE] INDEX [index_name] [IF NOT EXISTS] -FOR ()-"["r:TYPE_NAME"]"-() +FOR ()-[r:TYPE_NAME]-() ON (r.propertyName_1[, r.propertyName_2, ... r.propertyName_n]) -[OPTIONS "{" option: value[, ...] "}"] +[OPTIONS { option: value[, ...] }] ---- | Description @@ -142,7 +142,7 @@ Index provider can be specified using the `OPTIONS` clause. CREATE LOOKUP INDEX [index_name] [IF NOT EXISTS] FOR (n) ON EACH labels(n) -[OPTIONS "{" option: value[, ...] "}"] +[OPTIONS { option: value[, ...] }] ---- | Description @@ -163,9 +163,9 @@ Index provider can be specified using the `OPTIONS` clause. [source, syntax, role="noheader"] ---- CREATE LOOKUP INDEX [index_name] [IF NOT EXISTS] -FOR ()-"["r"]"-() +FOR ()-[r]-() ON [EACH] type(r) -[OPTIONS "{" option: value[, ...] "}"] +[OPTIONS { option: value[, ...] }] ---- | Description @@ -188,7 +188,7 @@ Index provider can be specified using the `OPTIONS` clause. CREATE TEXT INDEX [index_name] [IF NOT EXISTS] FOR (n:LabelName) ON (n.propertyName) -[OPTIONS "{" option: value[, ...] "}"] +[OPTIONS { option: value[, ...] }] ---- | Description @@ -209,9 +209,9 @@ Index provider can be specified using the `OPTIONS` clause. [source, syntax, role="noheader"] ---- CREATE TEXT INDEX [index_name] [IF NOT EXISTS] -FOR ()-"["r:TYPE_NAME"]"-() +FOR ()-[r:TYPE_NAME]-() ON (r.propertyName) -[OPTIONS "{" option: value[, ...] "}"] +[OPTIONS { option: value[, ...] }] ---- | Description @@ -234,7 +234,7 @@ Index provider can be specified using the `OPTIONS` clause. CREATE POINT INDEX [index_name] [IF NOT EXISTS] FOR (n:LabelName) ON (n.propertyName) -[OPTIONS "{" option: value[, ...] "}"] +[OPTIONS { option: value[, ...] }] ---- | Description @@ -255,9 +255,9 @@ Index provider and configuration can be specified using the `OPTIONS` clause. [source, syntax, role="noheader"] ---- CREATE POINT INDEX [index_name] [IF NOT EXISTS] -FOR ()-"["r:TYPE_NAME"]"-() +FOR ()-[r:TYPE_NAME]-() ON (r.propertyName) -[OPTIONS "{" option: value[, ...] "}"] +[OPTIONS { option: value[, ...] }] ---- | Description From c73e7e9e2e9de9b23d298a891ce81c8cd5b4ff8d Mon Sep 17 00:00:00 2001 From: lidiazuin Date: Thu, 15 Dec 2022 14:56:39 +0100 Subject: [PATCH 2/4] updates after review --- .../pages/indexes-for-search-performance.adoc | 30 +++++++++++-------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/modules/ROOT/pages/indexes-for-search-performance.adoc b/modules/ROOT/pages/indexes-for-search-performance.adoc index 024e3c717..bea730a12 100644 --- a/modules/ROOT/pages/indexes-for-search-performance.adoc +++ b/modules/ROOT/pages/indexes-for-search-performance.adoc @@ -78,6 +78,11 @@ With `IF NOT EXISTS`, no error is thrown and nothing happens should an index wit It may still throw an error if conflicting constraints exist, such as constraints with the same name or schema and backing index type. ==== +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== + .+Create a range index on nodes+ [options="noheader", width="100%", cols="2, 8a"] @@ -93,7 +98,7 @@ ON (n.propertyName_1[, n.propertyName_2, ... n.propertyName_n]) -[OPTIONS { option: value[, ...] }] +[OPTIONS "{" option: value[, ...] "}"] ---- | Description @@ -114,12 +119,12 @@ Index provider can be specified using the `OPTIONS` clause. [source, syntax, role="noheader"] ---- CREATE [RANGE] INDEX [index_name] [IF NOT EXISTS] -FOR ()-[r:TYPE_NAME]-() +FOR ()-"["r:TYPE_NAME"]"-() ON (r.propertyName_1[, r.propertyName_2, ... r.propertyName_n]) -[OPTIONS { option: value[, ...] }] +[OPTIONS "{" option: value[, ...] "}"] ---- | Description @@ -142,7 +147,7 @@ Index provider can be specified using the `OPTIONS` clause. CREATE LOOKUP INDEX [index_name] [IF NOT EXISTS] FOR (n) ON EACH labels(n) -[OPTIONS { option: value[, ...] }] +[OPTIONS "{" option: value[, ...] "}"] ---- | Description @@ -163,9 +168,9 @@ Index provider can be specified using the `OPTIONS` clause. [source, syntax, role="noheader"] ---- CREATE LOOKUP INDEX [index_name] [IF NOT EXISTS] -FOR ()-[r]-() +FOR ()-"["r"]"-() ON [EACH] type(r) -[OPTIONS { option: value[, ...] }] +[OPTIONS "{" option: value[, ...] "}"] ---- | Description @@ -188,7 +193,7 @@ Index provider can be specified using the `OPTIONS` clause. CREATE TEXT INDEX [index_name] [IF NOT EXISTS] FOR (n:LabelName) ON (n.propertyName) -[OPTIONS { option: value[, ...] }] +[OPTIONS "{" option: value[, ...] "}"] ---- | Description @@ -209,9 +214,9 @@ Index provider can be specified using the `OPTIONS` clause. [source, syntax, role="noheader"] ---- CREATE TEXT INDEX [index_name] [IF NOT EXISTS] -FOR ()-[r:TYPE_NAME]-() +FOR ()-"["r:TYPE_NAME"]"-() ON (r.propertyName) -[OPTIONS { option: value[, ...] }] +[OPTIONS "{" option: value[, ...] "}"] ---- | Description @@ -234,7 +239,7 @@ Index provider can be specified using the `OPTIONS` clause. CREATE POINT INDEX [index_name] [IF NOT EXISTS] FOR (n:LabelName) ON (n.propertyName) -[OPTIONS { option: value[, ...] }] +[OPTIONS "{" option: value[, ...] "}"] ---- | Description @@ -255,9 +260,9 @@ Index provider and configuration can be specified using the `OPTIONS` clause. [source, syntax, role="noheader"] ---- CREATE POINT INDEX [index_name] [IF NOT EXISTS] -FOR ()-[r:TYPE_NAME]-() +FOR ()-"["r:TYPE_NAME"]"-() ON (r.propertyName) -[OPTIONS { option: value[, ...] }] +[OPTIONS "{" option: value[, ...] "}"] ---- | Description @@ -1670,4 +1675,3 @@ DROP INDEX missing_index_name IF EXISTS ====== - From c23c0ffbff2e4da50c8988e9a6f14f4d582e4b38 Mon Sep 17 00:00:00 2001 From: lidiazuin Date: Fri, 16 Dec 2022 10:38:28 +0100 Subject: [PATCH 3/4] addition of the same note in other pages of the manual, as suggested after review --- .../database-administration.adoc | 4 ++ .../access-control/dbms-administration.adoc | 45 +++++++++++++++++++ .../access-control/manage-privileges.adoc | 5 +++ .../pages/access-control/manage-roles.adoc | 5 +++ .../pages/access-control/manage-servers.adoc | 5 +++ .../pages/access-control/manage-users.adoc | 5 +++ .../access-control/privileges-reads.adoc | 4 ++ .../access-control/privileges-writes.adoc | 4 ++ modules/ROOT/pages/aliases.adoc | 4 ++ .../ROOT/pages/clauses/listing-functions.adoc | 5 +++ .../pages/clauses/listing-procedures.adoc | 5 +++ .../pages/clauses/transaction-clauses.adoc | 10 +++++ modules/ROOT/pages/constraints/syntax.adoc | 4 ++ modules/ROOT/pages/databases.adoc | 4 ++ .../pages/indexes-for-full-text-search.adoc | 5 +++ 15 files changed, 114 insertions(+) diff --git a/modules/ROOT/pages/access-control/database-administration.adoc b/modules/ROOT/pages/access-control/database-administration.adoc index bde850bf7..e44d30f3c 100644 --- a/modules/ROOT/pages/access-control/database-administration.adoc +++ b/modules/ROOT/pages/access-control/database-administration.adoc @@ -61,6 +61,10 @@ This can be quite powerful as it allows permissions to be switched from one data * _role[, ...]_ ** The role or roles to associate the privilege with, comma-separated. +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== .General grant +ON DATABASE+ privilege syntax [cols="<15s,<85"] diff --git a/modules/ROOT/pages/access-control/dbms-administration.adoc b/modules/ROOT/pages/access-control/dbms-administration.adoc index 331a4dfa2..c34c8092c 100644 --- a/modules/ROOT/pages/access-control/dbms-administration.adoc +++ b/modules/ROOT/pages/access-control/dbms-administration.adoc @@ -141,6 +141,11 @@ a|Rows: 3 The DBMS privileges for role management are assignable using Cypher administrative commands. They can be granted, denied and revoked like other privileges. +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== + .Role management privileges command syntax [options="header", width="100%", cols="3a,2"] |=== @@ -370,6 +375,11 @@ a|Rows: 1 The DBMS privileges for user management can be assigned using Cypher administrative commands. They can be granted, denied and revoked like other privileges. +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== + .User management privileges command syntax [options="header", width="100%", cols="3a,2"] |=== @@ -697,6 +707,11 @@ Impersonation is the ability of a user to assume another user's roles (and there The ability to impersonate users can be granted via the `IMPERSONATE` privilege. +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== + .Impersonation privileges command syntax [options="header", width="100%", cols="3a,2"] |=== @@ -765,6 +780,11 @@ GRANT IMPERSONATE (alice, bob) ON DBMS TO userImpersonator The DBMS privileges for database management can be assigned by using Cypher administrative commands. They can be granted, denied and revoked like other privileges. +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== + .Database management privileges command syntax [options="header", width="100%", cols="3a,2"] |=== @@ -1020,6 +1040,11 @@ The DBMS privileges for alias management can be assigned by using Cypher adminis They can be granted, denied and revoked like other privileges. It is also possible to manage aliases with xref::access-control/dbms-administration.adoc#access-control-dbms-administration-database-management[database management commands]. +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== + .Alias management privileges command syntax [options="header", width="100%", cols="3a,2"] |=== @@ -1183,6 +1208,11 @@ a|Rows: 1 The DBMS privileges for server management can be assigned using Cypher administrative commands. They can be granted, denied, and revoked like other privileges. +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== + .Server management privileges command syntax [options="header", width="100%", cols="3a,2"] |=== @@ -1208,6 +1238,11 @@ GRANT SHOW SERVERS The DBMS privileges for privilege management can be assigned by using Cypher administrative commands. They can be granted, denied and revoked like other privileges. +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== + .Privilege management privileges command syntax [options="header", width="100%", cols="3a,2"] |=== @@ -1355,6 +1390,11 @@ a|Rows: 1 The DBMS privileges for procedure and user defined function execution can be assigned by using Cypher administrative commands. They can be granted, denied and revoked like other privileges. +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== + .Execute privileges command syntax [options="header", width="100%", cols="3a,2"] |=== @@ -1946,6 +1986,11 @@ The right to perform the following privileges can be achieved with a single comm * Execute all procedures with elevated privileges. * Execute all user defined functions with elevated privileges. +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== + [source, cypher, role=noplay] ---- GRANT [IMMUTABLE] ALL [[DBMS] PRIVILEGES] diff --git a/modules/ROOT/pages/access-control/manage-privileges.adoc b/modules/ROOT/pages/access-control/manage-privileges.adoc index 36ad8a575..eae6b3aaa 100644 --- a/modules/ROOT/pages/access-control/manage-privileges.adoc +++ b/modules/ROOT/pages/access-control/manage-privileges.adoc @@ -31,6 +31,11 @@ If a user was not also provided with the database `ACCESS` privilege, then acces Information about the database access privilege can be found in xref::access-control/database-administration.adoc#access-control-database-administration-access[The ACCESS privilege]. ==== +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== + [role=enterprise-edition] [[access-control-graph-privileges]] diff --git a/modules/ROOT/pages/access-control/manage-roles.adoc b/modules/ROOT/pages/access-control/manage-roles.adoc index ffc006fb3..9f4607121 100644 --- a/modules/ROOT/pages/access-control/manage-roles.adoc +++ b/modules/ROOT/pages/access-control/manage-roles.adoc @@ -17,6 +17,11 @@ When connected to the DBMS over `bolt`, administration commands are automaticall [[access-control-role-syntax]] == Role management command syntax +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== + [cols="<15s,<85"] |=== diff --git a/modules/ROOT/pages/access-control/manage-servers.adoc b/modules/ROOT/pages/access-control/manage-servers.adoc index 1692ba52a..0850e7720 100644 --- a/modules/ROOT/pages/access-control/manage-servers.adoc +++ b/modules/ROOT/pages/access-control/manage-servers.adoc @@ -12,6 +12,11 @@ When connected to the DBMS over `bolt`, administration commands are automaticall [[server-management-syntax]] == Server management command syntax +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== + [cols="<15s,<85"] |=== | Command diff --git a/modules/ROOT/pages/access-control/manage-users.adoc b/modules/ROOT/pages/access-control/manage-users.adoc index 12d2c9fbc..99913888d 100644 --- a/modules/ROOT/pages/access-control/manage-users.adoc +++ b/modules/ROOT/pages/access-control/manage-users.adoc @@ -15,6 +15,11 @@ When connected to the DBMS over `bolt`, administration commands are automaticall [[access-control-user-syntax]] == User management command syntax +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== + [cols="<15s,<85"] |=== diff --git a/modules/ROOT/pages/access-control/privileges-reads.adoc b/modules/ROOT/pages/access-control/privileges-reads.adoc index cae6246fd..1e0007415 100644 --- a/modules/ROOT/pages/access-control/privileges-reads.adoc +++ b/modules/ROOT/pages/access-control/privileges-reads.adoc @@ -15,6 +15,10 @@ There are three separate read privileges: * xref::access-control/privileges-reads.adoc#access-control-privileges-reads-read[`READ`] - enables the specified properties of the found entities to be read. * xref::access-control/privileges-reads.adoc#access-control-privileges-reads-match[`MATCH`] - combines both `TRAVERSE` and `READ`, enabling an entity to be found and its properties read. +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== [[access-control-privileges-reads-traverse]] == The `TRAVERSE` privilege diff --git a/modules/ROOT/pages/access-control/privileges-writes.adoc b/modules/ROOT/pages/access-control/privileges-writes.adoc index 263f3ede4..90a16c0ba 100644 --- a/modules/ROOT/pages/access-control/privileges-writes.adoc +++ b/modules/ROOT/pages/access-control/privileges-writes.adoc @@ -23,6 +23,10 @@ There are also compound privileges which combine the above specific privileges: * xref::access-control/privileges-writes.adoc#access-control-privileges-writes-write[`WRITE`] - allows all `WRITE` operations on an entire graph. * xref::access-control/privileges-writes.adoc#access-control-privileges-writes-all[`ALL GRAPH PRIVILEGES`] - allows all `READ` and `WRITE` operations on an entire graph. +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== [[access-control-privileges-writes-create]] == The `CREATE` privilege diff --git a/modules/ROOT/pages/aliases.adoc b/modules/ROOT/pages/aliases.adoc index 1e352be53..4a7f6dd85 100644 --- a/modules/ROOT/pages/aliases.adoc +++ b/modules/ROOT/pages/aliases.adoc @@ -109,6 +109,10 @@ Drop either a local or remote database alias. |=== +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== This is the list of the allowed driver settings for remote aliases. diff --git a/modules/ROOT/pages/clauses/listing-functions.adoc b/modules/ROOT/pages/clauses/listing-functions.adoc index dfbb4ce70..6963594fb 100644 --- a/modules/ROOT/pages/clauses/listing-functions.adoc +++ b/modules/ROOT/pages/clauses/listing-functions.adoc @@ -65,6 +65,11 @@ Is `null` without the xref::access-control/dbms-administration.adoc#access-contr == Syntax +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== + List functions, either all or only built-in or user-defined:: [source, syntax, role="noheader", indent=0] diff --git a/modules/ROOT/pages/clauses/listing-procedures.adoc b/modules/ROOT/pages/clauses/listing-procedures.adoc index 5f2db572f..b5fbb906c 100644 --- a/modules/ROOT/pages/clauses/listing-procedures.adoc +++ b/modules/ROOT/pages/clauses/listing-procedures.adoc @@ -65,6 +65,11 @@ a| Map of extra output, e.g. if the procedure is deprecated. == Syntax +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== + List all procedures:: [source, syntax, role="noheader", indent=0] diff --git a/modules/ROOT/pages/clauses/transaction-clauses.adoc b/modules/ROOT/pages/clauses/transaction-clauses.adoc index 3e61f5448..20aa69a7c 100644 --- a/modules/ROOT/pages/clauses/transaction-clauses.adoc +++ b/modules/ROOT/pages/clauses/transaction-clauses.adoc @@ -209,6 +209,11 @@ The `SHOW TRANSACTIONS` command can be combined with multiple `SHOW TRANSACTIONS === Syntax +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== + List transactions on the current server:: [source, cypher, role="noheader", indent=0] @@ -366,6 +371,11 @@ The `TERMINATE TRANSACTIONS` command can be combined with multiple `SHOW TRANSAC === Syntax +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== + Terminate transactions by ID on the current server:: [source, cypher, role="noheader", indent=0] diff --git a/modules/ROOT/pages/constraints/syntax.adoc b/modules/ROOT/pages/constraints/syntax.adoc index c2b9fe0e7..ba2c5965f 100644 --- a/modules/ROOT/pages/constraints/syntax.adoc +++ b/modules/ROOT/pages/constraints/syntax.adoc @@ -26,6 +26,10 @@ There is no supported index configuration for range indexes. Creating a constraint requires the xref::access-control/database-administration.adoc#access-control-database-administration-constraints[`CREATE CONSTRAINT` privilege]. ==== +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== [[administration-constraints-syntax-create-unique]] [discrete] diff --git a/modules/ROOT/pages/databases.adoc b/modules/ROOT/pages/databases.adoc index 6ccea090b..0f24162d6 100644 --- a/modules/ROOT/pages/databases.adoc +++ b/modules/ROOT/pages/databases.adoc @@ -104,6 +104,10 @@ DROP [COMPOSITE] DATABASE name [IF EXISTS] [{DUMP\|DESTROY} [DATA]] [WAIT [n [SE |=== +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== [[administration-databases-show-databases]] == Listing databases diff --git a/modules/ROOT/pages/indexes-for-full-text-search.adoc b/modules/ROOT/pages/indexes-for-full-text-search.adoc index 73c7ba1e5..7c28e512b 100644 --- a/modules/ROOT/pages/indexes-for-full-text-search.adoc +++ b/modules/ROOT/pages/indexes-for-full-text-search.adoc @@ -101,6 +101,11 @@ Full-text indexes are created with the `CREATE FULLTEXT INDEX` command. An index can be given a unique name when created (or get a generated one), which is used to reference the specific index when querying or dropping it. A full-text index applies to a list of labels or a list of relationship types, for node and relationship indexes respectively, and then a list of property names. +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== + .Syntax for creating full-text indexes [options="header", width="100%", cols="5a, 3"] |=== From c40daa0dd6bcb382366b62a08692263a0cd7f315 Mon Sep 17 00:00:00 2001 From: lidiazuin Date: Fri, 16 Dec 2022 12:49:25 +0100 Subject: [PATCH 4/4] updates after revision --- modules/ROOT/pages/aliases.adoc | 10 +++++----- modules/ROOT/pages/constraints/syntax.adoc | 9 ++++----- modules/ROOT/pages/databases.adoc | 10 +++++----- 3 files changed, 14 insertions(+), 15 deletions(-) diff --git a/modules/ROOT/pages/aliases.adoc b/modules/ROOT/pages/aliases.adoc index 4a7f6dd85..f798c3d5f 100644 --- a/modules/ROOT/pages/aliases.adoc +++ b/modules/ROOT/pages/aliases.adoc @@ -28,6 +28,11 @@ When connected to the DBMS over Bolt, administration commands are automatically The syntax of the alias management commands is as follows: +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== + .Alias management command syntax [options="header", width="100%", cols="1,5a"] |=== @@ -109,11 +114,6 @@ Drop either a local or remote database alias. |=== -[NOTE] -==== -The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. -==== - This is the list of the allowed driver settings for remote aliases. [[remote-alias-driver-settings]] diff --git a/modules/ROOT/pages/constraints/syntax.adoc b/modules/ROOT/pages/constraints/syntax.adoc index ba2c5965f..5a759d93f 100644 --- a/modules/ROOT/pages/constraints/syntax.adoc +++ b/modules/ROOT/pages/constraints/syntax.adoc @@ -4,6 +4,10 @@ = Syntax :check-mark: icon:check[] +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== [[administration-constraints-syntax-create]] == Syntax for creating constraints @@ -26,11 +30,6 @@ There is no supported index configuration for range indexes. Creating a constraint requires the xref::access-control/database-administration.adoc#access-control-database-administration-constraints[`CREATE CONSTRAINT` privilege]. ==== -[NOTE] -==== -The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. -==== - [[administration-constraints-syntax-create-unique]] [discrete] === Create a unique node property constraint diff --git a/modules/ROOT/pages/databases.adoc b/modules/ROOT/pages/databases.adoc index 0f24162d6..15586433e 100644 --- a/modules/ROOT/pages/databases.adoc +++ b/modules/ROOT/pages/databases.adoc @@ -15,6 +15,11 @@ These administrative commands are automatically routed to the `system` database The syntax of the database management commands is as follows: +[NOTE] +==== +The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. +==== + .Database management command syntax [options="header", width="100%", cols="1m,5a"] |=== @@ -104,11 +109,6 @@ DROP [COMPOSITE] DATABASE name [IF EXISTS] [{DUMP\|DESTROY} [DATA]] [WAIT [n [SE |=== -[NOTE] -==== -The syntax descriptions use xref:access-control/index.adoc#access-control-syntax[the style] from access control. -==== - [[administration-databases-show-databases]] == Listing databases