# ASP.NET Core: preserve requirements through advanced agent edits - [Authorize the loaded ASP.NET Core order before saving changes](https://frameworkrecipes.dev/aspnet-core/resource-authorization/guide.md): Authorize on the endpoint establishes broad access; an authorization handler over the loaded order establishes record-specific access. Ignoring the returned AuthorizationResult turns a policy invocation into a no-op. - [resource-authorization-before-save rule pack](https://reporules.fyi/aspnet-core/resource-authorization/rule-pack.zip): YAML requirement and agent task. - [Return a conflict when EF Core detects a stale order edit](https://frameworkrecipes.dev/aspnet-core/optimistic-concurrency/guide.md): A concurrency token lets EF put the expected row version into the UPDATE predicate. When another edit won, the application must return a conflict or explicitly resolve it, rather than tell the caller their old decision succeeded. - [stale-update-is-not-success rule pack](https://reporules.fyi/aspnet-core/optimistic-concurrency/rule-pack.zip): YAML requirement and agent task. - [Framework rule pack](https://reporules.fyi/aspnet-core/rule-pack.zip): All requirements from this framework site.