3

I have a list with 3 columns.

I want set permission for a column that a special user/group can edit it, and a special user/group can't.

e.g:

  • User 1 can read columns a, b

  • User 2 can not see column c

Is there a solution for it?

3 Answers 3

3

I have create SharePoint column and view permission for SharePoint 2010 and you can download it for free from codeplex. Please check: http://spcolumnpermission.codeplex.com/ Thank you

2
  • I discovered this addon from this here post, whilst searching for a solution - this addon for sharepoint is excellent. I gave you my +1.
    – bgmCoder
    Commented Nov 15, 2012 at 4:43
  • @ar-gorgin - I nominate this as the solution. I have used this addon and it is excellent. I also gave enti a 5-star review over at Codeplex.
    – bgmCoder
    Commented Nov 16, 2012 at 23:24
1

In SharePoint you can set permissions down to list item, but not on columns.

EDIT: just tried a workaround that might work for you. I created a custom list "secret list" that i filled with items

  • A
  • B
  • C

I then changed permissions on that list so that only a limited set of users could see it.

In my "main" list i then set a lookup to the Title field of the "secret list" and with a user that had permission to that list i created 3 items (Test1, test2, test3) in the "main" list that mapped A, B and C from the "secret list".

Now if I have permissions to the "secret list" i see

Title    MyLookup     
Test1    A
Test2    B
Test3    C

If i have no permissions to the hidden list i see

Title    MyLookup     
Test1    
Test2    
Test3    

You could probably do this with item level permissions instead of list permissions on the "secret list", just be aware that item level permissions does not scale performance wise...

2
  • Thanks, but i want show all item but don't show a special column. if two columns shouldn't show for special user, how do i do??
    – ar.gorgin
    Commented Jul 9, 2012 at 8:53
  • 1
    You cannot control rendering. You could link one user group to one view that contains the column, and link other users to the other. Commented Jul 9, 2012 at 10:08
0

SharePoint doesn't provide a facility for securing individual columns, I mean OOTB. The lowest level SharePoint operates at is security on a whole list item.

We can modify the NewForm.aspx or EditForm.aspx or DispForm.aspx to restrict certain columns to be read only or hide by checking permissions with the help of ECMA script and JQuery.
Another possible workaround is to write an event receiver on the ItemUpdating event that checks security before saving changes.

1
  • Please don't add the exact same answer to this question, as you did on this one. Instead, try to specify your answer further to make it a better of this specific question. Thank You!
    – Benny Skogberg
    Commented Jan 19, 2016 at 7:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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