Controlling access for content change
A hotel chain can have multiple hotels in different locations across cities or even countries, and each of these needs to edit its content. Employees of a hotel chain can be associated with particular hotels or regions. Assuming each hotel has autonomy in deciding and modifying their own content, we have the following scenarios to be addressed:
Employees of a hotel chain should have access to modify the content for the hotels they have access to, depending on the access groups they are in
Employees of a hotel shouldn't have access to modify any other hotel's content irrespective of the fact that there might be other hotels belonging to the same parent hotel chain
Employees of a hotel chain shouldn't be able to access content of other hotel chains