Commit Graph

1 Commits (a57ab990148f6337017cd2ccdf9ce38b0da99cc2)

Author SHA1 Message Date
informatic a57ab99014 Implement membership_required client option
User without an active membership:
* will be able to log into sso.hackerspace.pl
* will not be able to create/modify any of their clients
* will not be able to authorize to any client that has "Active
membership required" option enabled
* API requests for said user will return 402 (in case a token has
already been issued)

Authorization errors will now be wrapped in properly rendered alerts.
2022-04-29 00:24:35 +02:00