Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am not sure what the better approach is for this problem.

we have number of customers that create issues on the system. They will be using Form based authentication approach. Basically, we will have groups of customers and we will add users to those groups.

but when they login to system, they should not see the issue which were created by other Customer. We already have a Customer field on the issue list which is populated from a top site customer list. but there is no relation between Customer table and User.

So, I need to somehow set the customer field when a customer creates an issue, then filter the list based on this value.

I am sure it is a common requirement on the projects, I was just wondering what the best practice is to achieve this.

Many thanks for your help.

Regards

share|improve this question
    
Have you given any thoughts of adding an EventReceiver to the lists where Issues gets posted, where you break permission inheritance and give users Read permission only on their own items? That way they can only see what they've posted themselves. –  Daniel Ziga Oct 19 '11 at 11:19
    
thanks for reply. But it is a kind of ownership concept. seeing their own issues is fine, but I want people to see their colleagues' issues as well.. –  AnarchistGeek Oct 19 '11 at 11:47
    
That is kind of the same concept. You just do it with a group instead of a user. Same procedure. –  Daniel Ziga Oct 19 '11 at 11:49
    
Just to clarify, you have multiple customers in the same group? –  Lori Oct 19 '11 at 12:53
    
So, do I need to get group of user and break inheritance and give that group read permission for item. is that right? if so, what if the user belongs to more than one group? –  AnarchistGeek Oct 19 '11 at 13:15

1 Answer 1

up vote 0 down vote accepted

If your customers are in different groups, then you could easily create a list that shows the Customer name, and the associated group that should be associate with it, then you can write a workflow that will break inheritance and assign permissions to that group by matching the Customer name from the issues list to the customer name in the custom list. This can be done out of the box with SharePoint Designer. Remember to make sure you add a group of users who should be able to see all of the items in the list!

share|improve this answer
    
nice one Lori, Many thanks for it. Cheerio –  AnarchistGeek Oct 19 '11 at 14:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.