We can currently elevate permissions by passing in a new execution context via IDomainRepository.WithExecutionContext, but if you're elevating permissions you probably just want to pass the IUserContext and not have to deal with the other execution context properties.
In doing this we'd probably want to rename the existing feature to "WithContext" and support both contexts with overloads. This would be a breaking change, but a simple rename.
We can currently elevate permissions by passing in a new execution context via
IDomainRepository.WithExecutionContext
, but if you're elevating permissions you probably just want to pass the IUserContext and not have to deal with the other execution context properties.In doing this we'd probably want to rename the existing feature to "WithContext" and support both contexts with overloads. This would be a breaking change, but a simple rename.