Skip to content

Commit a448ca8

Browse files
authored
Documentation: update links to policy files (#4976)
2 parents 4bccafa + 741138e commit a448ca8

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

docs/topics/policy.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,10 @@ As such, they usually can be bypassed through the admin API or the CLI if needed
2424

2525
### User attributes
2626

27-
The policy is evaluated in three different scenarios:
27+
The policy is evaluated in the following different scenarios:
2828

29-
- [`register.rego`]: During user registration, either with password credentials or with an upstream OAuth 2.0 provider. This calls the [`email.rego`] and [`password.rego`] policies as well.
29+
- [`register.rego`]: During user registration, either with password credentials or with an upstream OAuth 2.0 provider. This calls the [`email.rego`] policy as well.
3030
- [`email.rego`]: When a user adds a new email address to their account.
31-
- [`password.rego`]: When a user changes their password.
3231

3332
### Client registration
3433

@@ -69,8 +68,7 @@ This is especially important as in the future it will make it possible to implem
6968
To understand the authorization process and how sessions are created, refer to the [authorization and sessions](./authorization.md) section.
7069

7170

72-
[`register.rego`]: https://github.com/element-hq/matrix-authentication-service/blob/main/policies/register.rego
73-
[`email.rego`]: https://github.com/element-hq/matrix-authentication-service/blob/main/policies/email.rego
74-
[`password.rego`]: https://github.com/element-hq/matrix-authentication-service/blob/main/policies/password.rego
75-
[`client_registration.rego`]: https://github.com/element-hq/matrix-authentication-service/blob/main/policies/client_registration.rego
76-
[`authorization_grant.rego`]: https://github.com/element-hq/matrix-authentication-service/blob/main/policies/authorization_grant.rego
71+
[`register.rego`]: https://github.com/element-hq/matrix-authentication-service/blob/main/policies/register/register.rego
72+
[`email.rego`]: https://github.com/element-hq/matrix-authentication-service/blob/main/policies/email/email.rego
73+
[`client_registration.rego`]: https://github.com/element-hq/matrix-authentication-service/blob/main/policies/client_registration/client_registration.rego
74+
[`authorization_grant.rego`]: https://github.com/element-hq/matrix-authentication-service/blob/main/policies/authorization_grant/authorization_grant.rego

0 commit comments

Comments
 (0)