2

I think I found a bug in SharePoint 2013 Online.

I have created a site with "internal documents" that has unique permissions set. If I save this site as a web template and I create a new site with this template. Then my permissions for document library: "internal documents" will inheritance the root permissions.

2 Answers 2

2

It is not a bug.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.

1

Permissions are not included in site templates in SharePoint Server or SharePoint Online.

More to read in Reference 1 and Reference 2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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