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?