Skip to main content
property Session.ready: bool
Whether the session is ready or not. When False, the server will reject most requests made by users without the ROLE_ADMIN role with an HTTP 503 Service Unavailable status. This can be used to prevent queries from being made on a session that has not yet finished its initial setup process (tables and cubes creation, data loading, etc).
This property has no impact in the community edition since the ROLE_ADMIN role is always granted.
The session starts as not ready so only admins can access it:
Making the session available to all users:
Making the session unavailable to non-admins again:
See also: atoti.SessionConfig.ready to configure the initial value of this property.