0

What I'm doing (abstract):

A SharePoint List has an EventReceiever at which I'm accessing "ItemAdded" to create a new SPWeb for that new List Item.

That subsite needs it's own set of permission (Imagine Manager, Debuty, etc.). When I'm adding a Group to that SPWeb's SiteGroups and adding a RoleAssignment for the new SPWeb the Group also gets added in the Parent Site, which I do not want.

How do I solve this?

1
  • I dont think that you can change this behaviour because in order to access the resources of the subsite, an identity would have to first access the resources of the parent site.
    – jimas13
    Jul 2, 2022 at 11:00

1 Answer 1

0

You can't. SharePoint groups are available across the entire site collection, even if they are only used in a subsite of that site collection.

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.