f-list / fserv

Repository for the F-Chat server implementation.
BSD 2-Clause "Simplified" License
10 stars 5 forks source link

Role based access control support. #71

Closed kiranoot closed 6 years ago

kiranoot commented 6 years ago

Allow using arbitrary roles when doing access control for actions.

Supporting code has methods for checking if a connection has a role, adding roles and removing roles.

Some testing code was added to help reduce the risk of introducing access control errors while implementing the changes.