This is an automated email from the ASF dual-hosted git repository.

rcordier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 11ea9fb3636772a6a8672ef3f29a8cded4deac0f
Author: Benoit Tellier <[email protected]>
AuthorDate: Thu Oct 1 10:20:23 2020 +0700

    JAMES-3396 Document loop detection in webadmin documentation
---
 docs/modules/servers/pages/distributed/operate/webadmin.adoc | 10 ++++++++++
 src/site/markdown/server/manage-webadmin.md                  | 10 ++++++++++
 2 files changed, 20 insertions(+)

diff --git a/docs/modules/servers/pages/distributed/operate/webadmin.adoc 
b/docs/modules/servers/pages/distributed/operate/webadmin.adoc
index e759631..e7f79c1 100644
--- a/docs/modules/servers/pages/distributed/operate/webadmin.adoc
+++ b/docs/modules/servers/pages/distributed/operate/webadmin.adoc
@@ -410,6 +410,8 @@ syntax
 * 400: `source, domain` and `destination domain` are the same
 * 404: `source.domain.tld` are not part of handled domains.
 
+Be aware that no checks to find possible loops that would result of this 
creation will be performed.
+
 === Delete an alias for a domain
 
 To delete a domain alias execute the following query:
@@ -2198,6 +2200,7 @@ Response codes:
 * 400: Group structure or member is not valid
 * 400: Domain in the source is not managed by the DomainList
 * 409: Requested group address is already used for another purpose
+* 409: The addition of the group member would lead to a loop and thus cannot 
be performed
 
 ==== Removing a group member
 
@@ -2289,6 +2292,7 @@ Response codes:
 * 400: Forward structure or member is not valid
 * 400: Domain in the source is not managed by the DomainList
 * 404: Requested forward address does not match an existing user
+* 409: The creation of the forward would lead to a loop and thus cannot be 
performed
 
 ==== Removing a destination of a forward
 
@@ -2376,6 +2380,7 @@ Response codes:
 * 400: Source and destination can’t be the same!
 * 400: Domain in the destination or source is not managed by the
 DomainList
+* 409: The addition of the alias would lead to a loop and thus cannot be 
performed
 
 ==== Removing an alias of an user
 
@@ -2475,6 +2480,8 @@ Response codes:
 * 400: The `fromDomain` resource name is invalid
 * 400: The destination domain specified in the body is invalid
 
+Be aware that no checks to find possible loops that would result of this 
creation will be performed.
+
 ==== Removing a domain mapping
 
 ....
@@ -2539,6 +2546,8 @@ Response codes:
 * 400: Invalid `mappingSource` path parameter.
 * 400: Invalid `regex` path parameter.
 
+Be aware that no checks to find possible loops that would result of this 
creation will be performed.
+
 ==== Removing a regex mapping
 
 ....
@@ -2602,6 +2611,7 @@ Response codes:
 
 * 204: Action successfully performed
 * 400: Invalid parameters
+* 409: The addition of the address mapping would lead to a loop and thus 
cannot be performed
 
 ==== Remove an address mapping
 
diff --git a/src/site/markdown/server/manage-webadmin.md 
b/src/site/markdown/server/manage-webadmin.md
index 685e043..7a5e2d5 100644
--- a/src/site/markdown/server/manage-webadmin.md
+++ b/src/site/markdown/server/manage-webadmin.md
@@ -274,6 +274,8 @@ Response codes:
  - 400: `source, domain` and `destination domain` are the same
  - 404: `source.domain.tld` are not part of handled domains.
 
+Be aware that no checks to find possible loops that would result of this 
creation will be performed.
+
 ### Delete an alias for a domain
 
 
@@ -2031,6 +2033,7 @@ Response codes:
  - 400: Group structure or member is not valid
  - 400: Domain in the source is not managed by the DomainList
  - 409: Requested group address is already used for another purpose
+ - 409: The addition of the group member would lead to a loop and thus cannot 
be performed
 
 ### Removing a group member
 
@@ -2118,6 +2121,7 @@ Response codes:
  - 400: Forward structure or member is not valid
  - 400: Domain in the source is not managed by the DomainList
  - 404: Requested forward address does not match an existing user
+ - 409: The creation of the forward would lead to a loop and thus cannot be 
performed
 
 ### Removing a destination of a forward
 
@@ -2202,6 +2206,7 @@ Response codes:
  - 400: The alias source exists as an user already
  - 400: Source and destination can't be the same!
  - 400: Domain in the destination or source is not managed by the DomainList
+ - 409: The creation of the alias would lead to a loop and thus cannot be 
performed
 
 ### Removing an alias of an user
 
@@ -2293,6 +2298,8 @@ Response codes:
  - 400: The `fromDomain` resource name is invalid
  - 400: The destination domain specified in the body is invalid
 
+Be aware that no checks to find possible loops that would result of this 
creation will be performed.
+
 ### Removing a domain mapping
 
 ```
@@ -2354,6 +2361,8 @@ Response codes:
  - 400: Invalid `mappingSource` path parameter.
  - 400: Invalid `regex` path parameter.
 
+Be aware that no checks to find possible loops that would result of this 
creation will be performed.
+
 ### Removing a regex mapping
 
 ```
@@ -2465,6 +2474,7 @@ Response codes:
 
 - 204: Action successfully performed
 - 400: Invalid parameters
+- 409: The creation of the address mapping would lead to a loop and thus 
cannot be performed
 
 ### Remove an address mapping
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to