Mercurial > prosody-modules
comparison mod_firewall/README.md @ 6503:74774ec3af1d
mod_firewall: Fix MAY syntax in documentation
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 26 Mar 2026 13:41:36 +0000 |
| parents | b15601203d0d |
| children | de1f17ed4dac |
comparison
equal
deleted
inserted
replaced
| 6502:b15601203d0d | 6503:74774ec3af1d |
|---|---|
| 493 be performed. The acting entity, their role, and appropriate context is automatically inferred. All you | 493 be performed. The acting entity, their role, and appropriate context is automatically inferred. All you |
| 494 need to do is provide the identifier of the permission that should be checked. | 494 need to do is provide the identifier of the permission that should be checked. |
| 495 | 495 |
| 496 Condition Description | 496 Condition Description |
| 497 ----------------------- -------------------------------------------------------------------- | 497 ----------------------- -------------------------------------------------------------------- |
| 498 `MAY=permission` Checks whether 'permission' is allowed in the current context. | 498 `MAY: permission` Checks whether 'permission' is allowed in the current context. |
| 499 | 499 |
| 500 As with all other conditions, `MAY` can be combined with `NOT` to negate the result of the check. | 500 As with all other conditions, `MAY` can be combined with `NOT` to negate the result of the check. |
| 501 | 501 |
| 502 Example, blocking outgoing stanzas from users with roles that do not allow the 'xmpp:federate' permission: | 502 Example, blocking outgoing stanzas from users with roles that do not allow the 'xmpp:federate' permission: |
| 503 | 503 |
