Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm have permission level with perms for list "Add List Items" and "View Items" but then i'm try add new file with Windows explorer i get Access Denied error. And if set "Edit item" in permission level it work fine but i can edit files. How can i make only add permission without edit ?

share|improve this question

migrated from stackoverflow.com May 6 '12 at 13:14

This question came from our site for professional and enthusiast programmers.

3 Answers 3

IMHO this will not be possible by using only custom permissions.

I can think of few possible workarounds but they all requires some 'coding':

Option 1 You can build custom Event receiver with sole purpose to disable item editing. It is very simple code but still it is code (you need to deploy it properly so you need Visual Studio and basic knowledge of SP solution developing)

Using Event Receivers in SharePoint Foundation 2010

Event Cancellation

Event cancellation enables you to cancel an event receiver operation in a Before event prior to the conclusion of the action. For example, we can write some code in the ItemAdding event receiver that cancels the action of adding the item. So when the user tries to add an item, the operation is cancelled and the item is not added to the list. When the operation is cancelled, be sure to show the user an error message or provide a custom error message by redirecting the user to a specific URL.

Only downside is that edit form will be available but saving changes will be disabled (not a very user friendly approach).

Option 2 You can have temporary library and custom workflow developed by SharePoint Designer. After you upload document to temp library workflow will move it to another library with proper permissions.

Approval Workflow - Moving document to a read only document library

Option 3... You can always build custom workflow in VS or you can even use Event receiver to handle document move by code.

share|improve this answer
    
yeah, good solutions. But what about adding files throught Windows Explorer? Can I control this actions? –  Yakovlev Igor May 17 '12 at 5:05

You can create a custom permission level

http://office.microsoft.com/en-us/sharepoint-server-help/edit-create-and-delete-permission-levels-HA101805381.aspx

share|improve this answer
    
the problem not how do this. I'm create permission level with Add but then I'm try add new file in explorer happen error: Permission denied. –  Yakovlev Igor May 4 '12 at 6:01
    
Can you specify which all permissions you have specified. –  Madhur Ahuja May 4 '12 at 8:20
    
if i select all except "Edit Item in List" i get error when i'm try to add new file to list (both with windows explorer or programmatically) –  Yakovlev Igor May 4 '12 at 11:09
    
@Madhur he is saying he cannot add files without the custom permission "Edit Item in List" applied. Yakovlev: can you add the document without "Edit Item in List" permission through the web interface? –  Kolten May 4 '12 at 17:01
    
No. This is normal reaction ? Have u same? –  Yakovlev Igor May 5 '12 at 4:14

I was having a similar problem. I have ticked the 'View Application Pages' box as part of the bespoke permission level. This allows users to see the upload form which seems to have done the trick.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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