Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Saving Security Groups in Site Templates

  Asked By: Sidney Cortez         Date: Nov 27, 2003      Category: Sharepoint      Views: 370
 

Is there a way to save security rights in a site template, so that when
you create a new site off of the template, those security rights are
inherited?

I am trying to craft a site template where different document libraries
will have different security settings.

For example, in a document library called Appraisals, a cross-site group
called Appraisal Writers will have view, add, and delete permissions,
while a cross-site group called Appraisal Readers will have read-only
permissions to the documents in the library.

There will be several other document libraries in this same template,
and those document libraries will have similar LibName Reader and
LibName Writer groups, which will have

The problem is that when I create a new site off of the template, it
created the document libraries, but the rights to those libraries
default back to Web Designer, Contributor and Reader.

Tagged:            

 

3 Answers Found

 
Answer #1       Answered By: James Miller          Answered On: Nov 27, 2003       

The short answer to your question is "No". security  cannot be saved in a
Site Template.

However, you could imagine a scenario where just after a site  was
created code would run to alter the saved site. Alterations could
theoretically include security settings  like you describe.

I'm toying with the idea of including how to do this in my advanced
SharePoint Developer class.

 
Answer #2       Answered By: Collin Griffith          Answered On: Nov 27, 2003       

I am assuming you are talking about
writing a custom event handler. What would be the name of the event that
we would want to write the handler for?

 
Answer #3       Answered By: Scott Nelson          Answered On: Nov 27, 2003       

You probably already know that these are the rules OOB:
www.microsoft.com/.../en
-us/stsf03.mspx

Unfortunately, it would be more of a hack than that. You could
theoretically write a Web Part that the Site Definition puts on the Home
page that runs the first time the Site is viewed that alters the OOB
security and then deletes itself from the Home page. Something like
that. I only have the concept in the idea stage at this point.

I think that SharePoint v3 will likely help us out here so I'm not sure
how much energy to invest in the concept.

 
Didn't find what you were looking for? Find more on Saving Security Groups in Site Templates Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].