mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-02 22:25:48 +00:00
Until now, authentication in alternator served only two purposes: - refusing clients without proper credentials - printing user information with logs After this series, this user information is passed to lower layers, which also means that users are capable of attaching service levels to roles, and this service level configuration will be effective with alternator requests. tests: manually by adding more debug logs and inspecting that per-service-level timeout value was properly applied for an authenticated alternator user Fixes #11379 Closes #11380 * github.com:scylladb/scylladb: alternator: propagate authenticated user in client state client_state: add internal constructor with auth_service alternator: pass auth_service and sl_controller to server