08 Apr 2008
23 Jun 2008
Link to this post
Our client has 300 physical stores and wants 1 page on their web site per store. On that page, they need a list of event specifically for that store. There is a role for the store manager of that store: Store1Manager; Store2Manager etc. What we need is a way such that someone in role Store1Manager can list, create, edit and delete events for Store 1 but cannot do either for Store 2. Similarly for all other store managers. As far as I can see, it's not possible for us to create an event list for a specific store, so we are thinking of using Categories to filter.
One solution we are proposing is:
- Create a Category for each store: "Store1Category"
- edit the admin side control that lists events and automatically set the filter to "Store1Category" if the user is in role "Store1Manager"
- in the store page itself, add the Event View control and set the Advanced > Data to filter by that store's category.
Do you think this is a good approach? Would you recommend another, less hacky solution?