SharePoint User Group UK

Share the knowledge!

Welcome to SharePoint User Group UK Sign in | Join | Help
in
Home Blogs Forums Photos Files Roller

Hide columns based on permissions

Last post 08-12-2008, 6:36 PM by kgm. 5 replies.
Sort Posts: Previous Next
  •  08-06-2008, 3:32 PM 12765

    Hide columns based on permissions

    Hi there,

    I was wondering what is the best way to be able to hide columns based on permissons or if this is even possible? What we need is based on the following:

    "We are using the free contacts management template from microsoft but we want to be able to have additional columns for financial data associated with individual records. We only want these columns to be displayed to certain users e.g. Finance department whereas all other staff will only be able to see the basic contact information. We also want the ability to be able to add records based on these permissions too."

    What is the best way to handle this? Is it possible to hide columns based on permissions or do I need to have a look at having seperate web parts (Is it the content query web part that could do this?). Any help would be much appreciated!

    Thanks.

  •  08-06-2008, 9:34 PM 12795 in reply to 12765

    Re: Hide columns based on permissions

    Hi there, creating custom web parts is one solution, but if you want to reduce your develpoment time and use almost the out of the box stuff and have access to sharepoint designer, take a look at this :

    http://blog.gemsolution.co.uk/2008/07/16/hiding-a-column-based-on-security-permissions/

    There's also an add in product called Sharepoint Boost (http://www.sharepointboost.com/permissionboost.html) but is will set yuo back more the SPD.

    Hope this helps get you on your way :)


    Andrew Carter
    .Net & SharePoint
  •  08-07-2008, 12:15 PM 12805 in reply to 12765

    Re: Hide columns based on permissions

    There is a Codeplex project initiated around column level security. Check this out.

    http://code.msdn.microsoft.com/ColumnLevelSecurity

    Regards,

    Kapila Munaweera

     

  •  08-11-2008, 2:59 PM 12901 in reply to 12795

    Re: Hide columns based on permissions

    Thanks for that. Good article!
  •  08-11-2008, 2:59 PM 12902 in reply to 12901

    Re: Hide columns based on permissions

    Thansk. Do you know the timeframe of when this is supposed to be live? Cheers
  •  08-12-2008, 6:36 PM 12944 in reply to 12902

    Re: Hide columns based on permissions

    Supposed to be out by end of Aug with the full sorce code. If you happy to deploy a feature with out the source code, you may also look into this.
    http://www.codeplex.com/SPListDisplaySetting

    Regards,

    Kapila

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems