Skip to content

Release v4.226.0

Choose a tag to compare

@github-actions github-actions released this 07 Nov 10:41
c4de52f

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

  • user declarations in a model (Screenplay 5.11) become the sandbox's users. Set Stage: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 from ASPNETCORE_ENVIRONMENT. The sandbox is development unless this is false; 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:Users is on and Stage is not in development, or together with Stage:Sandbox:ForwardedIdentity.
  • Stage takes Screenplay 5.11.0.