I’m looking for possibility to define following options for Sharepoint list. I know it can be done from interface, but how to make if from XML or code? Can I set this somewhere in List Definition or List Instance:
-
Contributors should be able to create items, but should not be able to modify nor delete items of other users (but edit own items – yes).
-
Approvers, Site administrators and Site collection administraotrs should have full control over all items
You are most likely looking for the RoleAssignments property that is available for most scopes.
Suppose you could start with something like this