Say I have a DDD application with three bounded contexts i.e. Sales, Production and Marketing.
Say I wanted to setup an administration facility. The admin facility would allow superusers' to change data in the tables that are used by: SalesRepository; ProductionRepository and MarketingRepository.
How would the Administration facility pull information from the database:
Option 1) It use the three repositories i.e. SalesRepository; ProductionRepository and MarketingRepository
Option 2) Administration would be treated as a bounded context in its own right and have its own repository. This could be a generic repository as the bounded context contains CRUD operations only i.e. there is no domain logic.
I am specifically asking if a simple Admin facility should be treated as a bounded context. I am not asking: "what is a bounded context?".
GrantAccess()
. – Robert Harvey Sep 01 '17 at 18:45