Permissions required for changing Document Name - sharepoint

What permissions are required for a User to Update Document 'Name' in editform while uploading document in SharePoint document library.
It seems user has no issue while specifying any other property but get access denied if change document name?

User needs the permission to delete. Yes, really. If you need renaming and want to prevent users from deleting documents, you'll need a custom ItemDeleting receiver.

Related

Sharepoint 2013 - how to attach document to a document library as anonymous user

I have a document library on Sharepoint2013 site. I want anonymous users to access this list and can upload any documents they want after specifying their email address. I directed to list settings and allow anonymous access on permissions like below.
Name Type Permission Levels
Anonymous Users Anonymous Users Add Items, Edit Items, Delete Items, View Items
Right now, anonymous users can access the document library without a problem. Those users can click save button without selecting a document, this is working and a record exists. However, when a document is uploaded by anonymous users, when save button is clicked, the user is automatically directed to a login page, asking for credentials, without saving the document. What I want is that anonymous users would upload any document to the document library as well, they should not need to log in.
I appreciate if anyone helps.
Thanks.
Anonymous users are unable to upload documents into SharePoint libraries by default, so you would have to create a webpart and use the RunWithElevatedPrivileges method to upload files into a document library.
You can find the webpart's code here:
http://andreaswijayablog.blogspot.com.br/2014/04/sharepoint-2013-anonymous-access-add.html

Liferay able to access download url even after setting permissions to owner only

I have set my the document and media portlet to be owner only permissions. However, I am able to use another user's download URL to download his files.
eg. copying
{mysite.com}/documents/323892/445802/{user1's file title}/2e8db841-9c7e-47ad-99c0-6496afd0ffad?version=1.1
and using the above URL as another user. Is there a setting to block this behavior?
In Documents and Media, the "VIEW" permission allows other users to download the file as they can VIEW them.
Please allow only "OWNER" to view the file and not to the "GUEST" or "USER".

Get deleted user information from sharepoint

Is there a way to get a user name of the user deleted from sharepoint? I have the id of the deleted user. I need this since I want to present a more user friendly information taken from the audit logs. There I have only the id of the user.
You should be able to find the information in the content database (the UserInfo table), I'm not sure wether you can get it from the object model though.
Remember Microsoft does not recommend directly querying the database though...

SharePoint Document Workspace Permissions

Does anyone know the minimum permissions as user must have to create a document workspace? The problem I have is that I want to users to be able to create document workspaces but to do this I have had to grant the user Create Subsites permission, this however means they can now create other subsites.
Is there a workaround for this?
Unfortunately, if you want a user to be able to create a document workspace, they will also have to have rights to create subsites.
If you're able to remove the need for the user to create document workspaces, then you probably have more options. But this may not be possible for you.
To get around this I simply wrapped the Site Action menu on the master page in a placeholder. Then in the code behind page tested for a permission that I knew the user wouldn't have. This does stop the user from having any access to the Site Action menu but this is fine for my solution.
actionMenuPlaceholder.Visible = (
SPContext.Current.Web.UserIsWebAdmin ||
SPContext.Current.Web.UserIsSiteAdmin ||
SPContext.Current.Web.DoesUserHavePermissions(SPBasePermissions.ManageWeb)
);

Setting document library permissions in WSS 2.0

I am using WSS2.0. Am trying to set some permissions to a document library but not getting the desired behavior. I have created a sharepoint user and assigned it to 'Reader' group. I just want this user to view document library content but not make any changes like check out or upload new document or delete etc. Hence I assign the Reader group. But when I login to the site as this user I am able to delete documents and perform other changes. I checked the document library permissions and it contains Reader, Contributor, Administrator groups and also the permissions are not inherited from the parent.
Is there any other settings I need to check. Have I missed or misunderstood anything?
Please advise.
Thanks,
Jagannath
Based on the details provided it seems likely that the user in question also belongs to another group (local, Active Directory or SharePoint) with the additional permissions.

Resources