Any way to automate permission level creation?

MDRoz
  • Any way to automate permission level creation? MDRoz

    We have a need to create three custom permission levels for each site collection that's provisioned. The manual process is tedious and introduces possibilities of human error. What are the options for automating the process?

  • I've solved this with FeatureReceivers (just like anything nowadays...). Staple a feature onto your site template (or the global) which takes care of creating your custom permissions levels.

    Another option is using a custom provisioning provider.

Related questions and answers
  • User Steven has the Active Directory account however his profile is not yet populated into SSP User profiles. NT Authenticated users have the access permission on "Shared Documents - Document Library". So, will Steven be able to access the "Shared Documents"? I guess, IIS will authenticate the user Steven to access the "Shared Documents" and SharePoint will authorize the user to View the items in "Shared Documents", is that right?

  • Does anyone know what permission levels are required to allow a user to create content but not approve it? I’ve just spent the afternoon trying this and am more confused than when I started. For instance… If I add a user into the Designer site permission group I can create pages – excellent, just as I would expect. If I create a new site permissions level - let’s call it ‘customer-designer’ - by copying the Designer site permission level and then assign this ‘customer-designer’ level to a new site permission group. I then add my user into the new group and… I cannot create pages, even

  • I am using SharePoint Server 2007 x64 and Windows Server 2008 x64. I have setup a site with template publishing portal. I have grant anonymous access to all the site. My question is, if I create a new page, how do I grant permission to an anonymous user to access (read permission) the page? I got confused because for the permission setting of a page, a permission is set according to a user name (e.g. read permission for user "foo" of a page). Since anonymous user does not have a related "user name", how could I grant read permission to anonymous user? BTW: I use Windows Forms authentication

  • I'm attempting to permission a folder using the Object Model API that is created by an ASP.NET page wrapped into a feature. I am able to create and permission the folder for users that are in the appropriate SharePoint role however, I need to permission the folders that are also in more restrictive roles. The folders are created with no problem but I need to break the inheritance and permission the folder. I attempted to wrap the folder creation/permission code in SPSecurity.RunWithElevatedPrivileges(delegate() { ... }); I also tried using web.AllowUnsafeUpdates = true

  • sites/sub-site and permission level. My question is: Is this possible? Another question: Is there any method how to get this information without installing anything on server side of SharePoint farm? I.... This means that I’ve prepared list of all sites/sub-sites in my scope. As a source I use spreadsheet with all details about sites/sub-sites input.xlsx this is only one part of process maintained...Where is information about users associated with specific SharePoint site stored? I guess information is stored in relational database. To be more specific i want to ask if it is possible to query

  • Symptoms: You have installed and run the Visual Studio Remote Debugger on your SharePoint server. You can debug the IIS worker process in the terminal session on the server. You cannot connect to the Remote Debugger from your development workstation. Network response packets show "WebDAV MiniRedir ... PROPFIND not implemented" messages.

  • What are the CAS policy requirements to call the method Page.TemplateControl.ParseControl? Specifically, in SharePoint I've tried to call the method in a Minimum-trust environment, but get this error on the page: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. However, in a medium-trust environment, no problems.

  • I am using SharePoint 2007 + Windows Server 2008 with SharePoint 2007's publishing portal template. When publish a page, I have to go through check-in/request for approval/approve process. Any solutions to skip request for approval and approval process (i.e. when we check-in an item, it will be published directly without approval)?

  • every 2 minutes and processes some list items. Again, i am only disposing of the SPSite object, not the SPWeb object. After letting it run for about a week on dev, the sqlserver.exe process was around... weren't getting these errors then. Am I seeing a memory leak in sqlserver due to me not closing SPWeb? Or would a SharePoint memory leak occur in the w3wp process? Any clarity is greatly appreciated...So I read through another post here Disposal of SPWebs created using SPSite.OpenWeb(). Currently I only dispose of the SPSite object, and from my understanding whe SPSite disposes any opened SPWeb

Data information