Solved

Can't stop file deletions

Posted on 2014-01-18
3
316 Views
Last Modified: 2014-01-19
I am trying to create a library where it's files cannot be deleted by anybody but the admin. For testing, I have created a new site and broke inheritance permissions from the parent.

I am the only person allowed on the site. I created a new permission set called NoDelete where I selected all permissions but deselected the delete items and files option. I created a group, added myself to it, added it to the site and assigned this permission set to it. So I still can act like an admin, but I should not be able to delete files or items from any library in this site. But I can delete, and all lists and libraries inherit permission from the site level, which has customized permissions as per above.  So why can i still delete files and items? Every other permission is enabled for this permission set, but I thought that disabling delete permissions only would work. Are there any other permissions that need to be disabled for this permission set to prevent item and/or file deletion?
0
Comment
Question by:BobHavertyComh
3 Comments
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 350 total points
ID: 39790610
Hi Robert,
which SharePoint edition / version?
Are you sure that your account is JUST in this group or are you e.g. site collection admin?
In SharePoint you will get the combination of all permissions you have - besides an explicit deny permission set configured in the Central administration on web app level (afaicr).

Thanks.
Rainer
0
 
LVL 14

Assisted Solution

by:SneekCo
SneekCo earned 150 total points
ID: 39790952
Just a few points here - everything Rainer said is spot on, so check all of that. You mention that every other permission is on for this permission level. Make sure that the group you have granted permission to the library has only your custom permission bound to it.

Here are a few tips on testing:
Use the check permission function (found in the ribbon) to determine what the permissions are for individual users. Make sure you are checking permissions at the correct level you want.

Another thing I do always, use a second totally standard user account for testing. I have found that my admin account is never as I think so it is invalid for user testing. If you don't have a standard, "pure - virgin" account, get one and use that for your testing. Add or grant that account to the object you are working with, and test with the check permissions function and your results will be more accurate than your admin account.

Hope that helps,
0
 
LVL 9

Author Closing Comment

by:BobHavertyComh
ID: 39792072
I am site collection admin, so apparently that's the problem. I am on Office 385 SharePoint, so any test accounts have to be purchased. Thd 365 plan I'm working with is not enterprise and has no access to central admin to set web app level stuff. So test accounts need to purchased, and maybe that's an inevitable dev expense.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

When installing SharePoint 2010 RTM I came across a strange error, I was getting timeouts during the installation. I searched the web and found the best solution to be found here (http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010genera…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now