Repository navigation
Release v4.226.0
The sandbox can now offer the users a model declares to Lens, so you can switch who you act as while testing without restarting Stage. It is for development and test only, and it is off unless you ask for it.
Added
userdeclarations in a model (Screenplay 5.11) become the sandbox's users. SetStage:Sandbox:Users(Stage__Sandbox__Users=true) and Stage lists them at/.cratis/users, each with the roles and claims of the personas it plays. The user Lens selects is the caller for every request; a user that plays no persona is signed in with no roles.Stage:Development: Stage now decides for itself whether it is in development and tells ASP.NET Core and Arc, instead of inheriting it fromASPNETCORE_ENVIRONMENT. The sandbox is development unless this isfalse; a published application never is. The configuration files the process started with still load as before.
Changed
- Arc's discovery endpoints (
/.cratis/users,/.cratis/tenants) now answer in the Docker sandbox instead of failing with a 500. - While users are on, the single server-selected persona is off and Stage trusts the identity headers the tool sends.
- Stage refuses to start when
Stage:Sandbox:Usersis on and Stage is not in development, or together withStage:Sandbox:ForwardedIdentity. - Stage takes Screenplay 5.11.0.