mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-10-01 01:36:06 -04:00
5bd23ced9b
The ACL unit allows you to combine an policy lists and conveniently test users and servers against them. The main motivation for this work is provide access control on who can provision and continue to use mjolnir instances in the appservice component. We include a new recommendation type org.matrix.mjolnir.allow which can be used with user and server entity types to create allow lists. We have also replaced the destructing of policy lists in applyServerACL and applyMemberBans (in ProtectedRooms.ts) with calls to the AccessControlUnit. Adding commands to add/remove allowed entities is not something i want to do at the moment. |
||
---|---|---|
.. | ||
AccessControlUnit.ts | ||
ListRule.ts | ||
PolicyList.ts | ||
RoomUpdateError.ts | ||
RuleServer.ts | ||
ServerAcl.ts |