.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

How to set create-only permissions to publishing pages library?

Posted By:      Posted Date: September 14, 2010    Points: 0   Category :SharePoint
I have publishing site where users can add their own pages to some libraries. I have problem with permissions when user creates new page. Here's how I set permissions: all users are added to members group (by default they can view pages) members group has view permissions also for master pages library For site where users can add pages I set the following permissions on pages library users can add view pages users can add pages When user adds new page then he/she gets automatically edit permissions for this page. So users can edit only their own pages. I found out that add permission is not enough - when user creates page then he/she gets access denied error. The minun that doesn't cause problems is approver permission to pages library (of course, now users can do everything on pages library they ever want to do). Is there any way to avoid making users as approvers?  They only need view and add permissions for page library and view and edit permissions for pages they added. They cannot do anything more. Approving and denying of pages is administrators job. With best regards, Gunnar Peipman   Also visit my ASP.NET and SharePoint blog!

View Complete Post

More Related Resource Links

sharepoint publishing pages permissions not copying while using variations



I have multilingual publishing site build on sharepoint 2010.We have break the permissions of the publishing pages  on the source language and assuming the same permissions will apply on the target site publishing pages also. But target site publishing pages still inheriting the permission from the site. Just want to assure, is this the default behavior of the sharepoint or something is wrong in environment setup. 


Sourabh K

Store Publishing Pages in a library besides "Pages"


Hi everybody,

I'm trying to see if there's a way to store publishing pages in other libraries and keep their functionality.  For example, I want to make a library called "Things" and move a publishing page from "Pages" into "Things".  This is in order to have the URL's of pages in the site be something like example.org/info/faq.aspx instead of example.org/pages/info/faq.aspx.

I have already tried doing this, enabling the Page and Article Page content types, but I get some weird problems:  The edit button isn't always available, when I try to create a new item in the library it doesn't take me to the page creation page (even though I have pages as the default content type), and moving pages from one library to another breaks the top navigation link.

How could you customize the URL's of your pages without using a redirect or any other hokey solution?



When trying to create a site i get - 'Failed to create the 'Pages' library. Please Help...



I get an error in SharePoint 2010 when trying to create a new site in my site collection root. I beleave I have set up everything correctly security-wise, but maybe I missed something. I am set as site collection owner.

Any thoughts or ideas appreciated! Thank you in advance /Jesper Wilfing

EventLogger tells me:


Event log message was: 'Failed to create the 'Pages' library.'. Exception was: 'Microsoft.SharePoint.SPException: User cannot be found.

at Microsoft.SharePoint.SPUserCollection.get_Item(String loginName)

at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.LoadWorkflowBytesElevated(SPFile file, Int32 fileVer, Int32& userid, DateTime& lastModified)

at Microsoft.SharePoint.Workflow.SPWorkflowManager.AddDeclSiteTemplates(SPWeb web, String visibility, SPWorkflowTemplateCollection wftemplates, SPListTemplateType templateType)

at Microsoft.SharePoint.Workflow.SPWorkflowManager.<>c__DisplayClass2.<RegisterNoCodeTemplates>b__0()

at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()

at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)

at Microsoft.SharePoin

Create exclusive permissions for a Wiki library


Hi All, 

I would like to allow users "contribute" permission - but only for the Wiki pages within a site.  For the other parts of the site these users have only "read" access.  I have de-inherited permissions for the Wiki from the site and now I am seeing the following message:

"Permissions to view and edit files uploaded to wiki pages are controlled by the library the file is uploaded to, not the wiki page library."

What library is this refering to?  Where do I control the permission settings for the Wiki pages?



Users with contribute or full control permissions cannot create pages


I've got a problem where users with Contribute permissions or higher - even Full Control (!) - on a site collection cannot create pages.

Site Collection Administrators can create pages fine.

The only way I can get users to create pages is to give them all Contribute permissions to the Master Page Gallery.

The Master Page Gallery, by default, does not inherit permissions from its parent site, it's default out of the box set-up is this:

Approvers  - SharePoint Group  - Read 
Designers - SharePoint Group  - Design 
Hierarchy Managers - SharePoint Group - Read 
Restricted Readers - SharePoint Group - Restricted Read 
Style Resource Readers - SharePoint Group - Read 

Usually having contribute permissions or even full permissions to a site allows you to create a page without having to change the Master Page Gallery's permissions from the above default - we even have site collections which have these settings and work fine.

I don't want to give people unnecessary access to the Master Page Gallery - is there anything else which could be causing this issue?

Silverlight: Create a Custom Expression Encoder Publishing Plug-In


Laurence Moroney demonstrates how to employ the Expression Encoder plug-in APIs by building and debugging a simple FTP upload plug-in.

Laurence Moroney

MSDN Magazine February 2008

MOSS 2007 - "next 100" link missing from permissions pages


We're running two MOSS 2007 environments that are (should be!) identical for Development and Validation.  We don't have Production set up yet to compare...

In DEV, when you go to the Site Settings > View All Site Settings > People and Groups > Groups, you see a "1 - 100 >" link at the top right to page to the next 100 groups.  In VAL, we do not see that link even though we have more than 100 Groups (the list ends on the first page with the letter "l").

Everything we have looked at between the two systems looks identical, has anyone seen something similar and has a fix?  At this point we're waiting until we get the PRD environment set up to compare because we're stumped.  Any help would be appreciated, thanks!


How to create Webpart pages dynamically ?


Hello friends,

I need to programatically  create a webpart page on my sharepoint sit on the activation of a feature and after creation of that page, i need to add a webpart. How i will do that? Is it possible create a Webpart page dynamically?


SPD workflow status show "starting" when I create a document from the library !!. and hangs

I have a document library in MOSS 2007. Have created a WF and that starts "autmatically when new item created" In the document library I have created couple of column those are mandatory (required columns) and user has to fill those column while uploading a document as well creating a document from library. WF has ran and completed succefully  when I use "upload" option to load a document.  As you are aware, when we "upload" a document, we will have to fill all "required columns" and the click "check in" command button.  After I do all this, document get loaded and WD ran succesfully. However, the WF is not running when I create a document (.docx) from this library (using "new" button) !!.  I have filled all required field in the document information panel . After save & exit from WORD application, I can see WF status as "starting". But, it never started and completed.  So I did following and found WF worked !! a) After creating document (.docx) using "new" option I found WF status "starting"!. So,  I did "Check-out and Check-in" manually from document library. After doing this,  WF ran and status has been changed as "completed" b) In SPD, I change workflow start option from "Automatic" to "Manually start".&nb

Unable to create columns in document library after applying custom master page to site

Hi, I have applied a custom master page to a site.There is a document library in it. I am unable to add columns in it or change the default view.Nothing happens when I click on OK butoon after making my changes. However the columns are created/default view is changed when I apply the default master page. Guess I am missing some TagPrefix or sharepoint control on master page.I had solved this problem earlier in this way but don't remeber it now. Can anyone help?

New Document Library in a subsite is inheriting permissions from wrong site

I have a site collection (using the out-of-the-box Business Intelligence site template) called "BI Home". A couple weeks ago I created a bunch of subsites (Finance, Regulatory, Marketing, etc.) all using the BI site template, and then created a Document Library called "Reports" in each one of those subsites. Those are all working as expected. Yesterday I needed to create a new subsite (again, a BI site just off the root site collection) called "Operations". I created the subsite, and then created the "Reports" document library underneath it.  When I went to modify the permissions of the new document library (located here: /Operations/Reports), it said it was inheriting permissions from it's parent: "BI Home".  Why would this be?  Shouldn't the parent be "Operations" ?? All my other sites' "Reports" folders are inheriting permission from their respective parent, but any new sites I create seem to have this issue. Thanks in advance for any insight someone may provide! [SharePoint 2010 RTM on Win2k8R2 using SQL 2008R2 RTM on Win2k8R2]

Item/Document permissions affect Library/List permissions

When I change the permissions on a item/document in a library/list the permissions are also changed on the library/list even though I stopped inheritance.  When I change the permissions on the library/list it also changes permissions on items/documents in that list even if inheritance is removed.

Show wiki page library columns on wiki pages- SharePoint 2010

I created a wiki page library in SharePoint 2010 and added a few columns to the library. However, these columns do not show on the actual wiki pages as they did in SharePoint 2007. I looked through the library settings but didn't find anything to turn on this feature. Does anyone know how to do this or if this feature was even included in SharePoint 2010? Thanks.

How to create SQL-login with permissions for view-only SQL-Agent-Jobs?

Could you please help me with resolving next problem: How to create SQL-login with permissions for view -only SQL-Agent-Jobs (he cannot create, modify or delete)? I am using MS-SQL-Server version: 8.00.194 In other words : how to create in version 2000 (8.00.194) the same as 'SQLAgentReaderRole ' in version 2005 (for more details see http://technet.microsoft.com/en-us/library/ms188283.aspx).

Using Workflow to create an InfoPath item in a Forms Library

Hi Experts: Here is my situation: I have a MOSS 2007 server with list A (regular sharepoint list) and List B (InfoPath form library with a published form) This is what I am trying to accomplish using SharePoint Designer: List A is just a basic list User changes a column in list A to a specific value A new form needs to be added to the forms library B SharePoint designer Workflow will not create a valid xml file in the List B forms library. It just creates an invalid file based on the .xsn file template. Does anyone have any experience creating a valid xml form in a forms library using SharePoint Designer workflow? I can't migrate to 2010 so that is not an option. Thanks for all your advise.

Provisioning did not succeed. Details: Failed to create the 'Reusable Content' library. OriginalEx

Hi there, I am trying to activate the Feature SharePoint Server Publishing Infrastructure in a Team Site, but I am getting the following message: Provisioning did not succeed. Details: Failed to create the 'Reusable Content' library. OriginalException: Column 'ShowInRibbon' does not exist. It may have been deleted by another user. This environment is running SharePoint 2010 Server, as a result of an upgrade of MOSS 2007 by moving the Content Database. The visual upgrade was applied partially in this Site Collection, not for all the Web Sites. Interestingly for new SharePoint 2010 Site Collections the activation works fine! But not for this specific Site Collection. Any clues? Cheers,Marcel Medina - SharePoint Developer Blog: http://sharepoint4developers.spaces.live.com Blog: http://sharepoint4developersnz.spaces.live.com Blog: http://www.canalsharepoint.com.br/marcelmedina

how to create a doc library item using web service

Hi, I think this is a common question, but I coulnd't come up with anything at this point. I'd like to create an item in a document library using SP web service. - no uploading a file. I have created an item using ../copy.asmx web service. Using the WS function(copyWebService.CopyIntoItems function), it seems suitable to create an item AND at the same time to upload a file. I don't think I can just create an item with this function. How do i just create an item? any reply is appreciated.  
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend