0

I have a visitor group on my root site. I have a site template with my custom internal document library (no inheritence from root etc, and i removed visitor group from inheritance etc)

After i have created a subsite with my custom template, i still can see that visitors group still can access (read) my internal document library.. why? i have removed them from my internal document library security/policy settings in my site template ..

0

Site Templates does not retain the Security settings.Site templates do not include the following items: Customized permissions, running workflow instances, list item version history, workflow tasks associated with running workflows, people or group field values, taxonomy field values, publishing pages and publishing sites, My Sites, and stapled features.

Please read this Article about Site Templates

Now, if you want to achieve your requirement of breaking inheritance of the Internal document library you will need to write a custom feature(Web Scoped feature) with feature receiver code, which will break inheritance of that document library.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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