Skip to content

Commit

Permalink
Update migration guide for acl
Browse files Browse the repository at this point in the history
  • Loading branch information
chrzaszcz committed Jan 14, 2022
1 parent 971e1c5 commit 85bb20b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/migrations/5.0.0_5.1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

The configuration format has slightly changed and you might need to amend `mongooseim.toml`.

### Section `acl`

The implicit check for user's domain in patterns is now configurable and the default behaviour (previously undocumented) is more consistent - the check is always performed unless disabled with `match = "all"`.
See the description of [`current_domain`](../configuration/acl.md#aclmatch) for more details.

### Section `auth`

* Each authentication method needs a TOML section, e.g. if you have the `rdbms` method enabled, you need to have the `[auth.rdbms]` section in the configuration file, even if it is empty. The `methods` option is not required anymore and especially if you are using only one method, you can remove it.
Expand Down

0 comments on commit 85bb20b

Please sign in to comment.