You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
SceneDocumentChangeValidation.Validate in Cratis.Scene.Engine checks that a changed Scene document stays within what its screen, template or layout may change: inherited content is unchanged, a screen sets only what its template exposed, collection operations and editable fields stay within what was granted, and a re-exposure never passes on more than its owner. A server can now hold a client that bypassed the editor to the same rules. See https://github.com/Cratis/Scene/blob/main/Documentation/editing/server-validation.md (Cratis/StudioIssues#464)
EditingScope, ExposureDeclaration, ExposedProperty, InstanceContribution, ContributedItem and CollectionOperation in Cratis.Scene.Model, mirroring @cratis/scene.model (Cratis/StudioIssues#464)
A shared fixture corpus (document-change-fixtures.json) that the TypeScript editing engine and the .NET validator both run, so they agree on what is allowed and why (Cratis/StudioIssues#464)