mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-29 11:10:40 +00:00
Authorization checks were previously skipped based on the _is_internal flag. This couples two concerns: marking client state as internal and bypassing authorization. Introduce _bypass_auth_checks to handle only the authorization bypass. Internal client state sets it to true, preserving current behavior. External client state accepts it as a constructor parameter, defaulting to false. This will allow maintenance socket connections to skip authorization without being marked as internal. Refs SCYLLADB-409