Assign SharePoint document permissions to a custom group - sharepoint

How do I add a custom group to this image library? I created a group at the site level which contains a list of users from AD but there is no option for me to add this group to this specific folder.
I have also created a group at the AD level but the SharePoint functionality only allows for individual users to be added to one of the groups already listed.
I stopped inheriting permissions from the top level site in order to manage access to certain folders but I don't seem to have that option.

Try following the steps:
From permissions page (shown in your question), click on "Grant Permissions"
Search name of group in first text box and select group from suggestions
Click on "SHOW OPTIONS"
Select Permission level as per your requirements
Click "Share"
Documentation: Customize permissions for a SharePoint list or library

Related

Why is the Sharepoint Site Owners group missing from Site Permissions?

I have a dev Sharepoint site with unique permissions (and fake users seen below). In the SharePoint manage access blade, the permissions appear as such:
However, when I click through to the Advanced Permissions link just below that, the permissions look as such:
MaksSite Owners is missing in the 2nd listing, though it appears in the first listing. This group appears to be the default Owners group that came with the SharePoint site. It is also missing when queried through the SharePoint REST API (via /sites/MaksSite/_api/web/GetFileByServerRelativeUrl('/sites/MaksSite/path/to/file')/ListItemAllFields/RoleAssignments?$expand=member). Which listing is right, and if it is the first listing, how do I get it to appear, at least with the API?
By default, the Site Owners group is hidden in the list. To make it appear, please take the following steps:
Click List Settings under Settings.
Scroll down to Views, click Detail View.
In Filter section, choose show all items in this view. Then save the view.
The Site Onwers group will appear in the list:
You could try to use the below Rest API:
/_api/web/GetFileByServerRelativeUrl('/sites/michael/Shared%20Documents/Document.docx')/ListItemAllFields/RoleAssignments/groups?$expand=users

User in SharePoint Group get access is required message

I have a SharePoint Site where I created a List and I want to give read and add access to this list only to a limited group of people.
First I created in the SP site the List "ListX"
In the ListX settings I went to list permissions and I stopped inheriting permissions from the site and I created unique permissions
On the site advanced permission settings I created a new permission level "Add and View Only" where I selected the following options:
On the list permissions section
(a) Add Items - Add items to lists and add documents to document libraries
(b) View Items - View items in lists and documents in document libraries
The moment I selected those two options the following options have been automatically selected for me on the site permissions section:
(a) View Pages - View pages in a Web site
(b) Open - Allows users to open a Web site, list, or folder in order to access items inside that container
Then on the site permission I created a SharePoint group "ListX Users" and I gave the permission level "Add and View Only"
Then I added several users in the SP group "ListX Users"
Then I granted permissions on the ListX permissions to the "ListX Users" SP group
However the user gets the message "Sorry you don't have access" when they try to go to the top level of the site so that they can click on the ListX link and they are prompted to request access.
Any idea why that happens and how to give such Add and View access to the ListX only? Thanks
Best (and easiest) imo is to work down. Give them permissions on site level and break inheritance on each library that shouldn't be visible for everyone.
That way the navigation is the easiest and for maintenance has the easiest overview.
I partially solved my issue by adding two more options in the List permissions permission levels of "Add and View Only". See below.
Open Items - View the source of documents with server-side file handlers
View Application Pages - View forms, views, and application pages. Enumerate lists
However in this case the user need to have a direct link to the list and cannot navigate via the site.

Restrict Edit/Delete SharePoint Permission on list

How to create a SharePoint permission that will only allow users to add items but no modify and delete access?
This will help me to secure all the data or information that the user input to SharePoint list.
With SharePoint default policies you can not restrict user. You have to create your own policy first. Follow below steps to create your own policy.
Go to site settings -> site permissions.
From ribbon click on permission levels.
click on "Add a new permission level".
Provide name and In list permission select "add permission" check box. click Create.
Now create group with this new permission policy and add appropriate user in it.
Go to your list -> list settings -> Permission for this list. Stop inheriting permission. Remove unwanted groups from there and add the new group you have created.
Now your users have only add permission in this list.

How can I create a new Role in SharePoint 2013?

I am trying to create a role in SharePoint 2013 but I am unable to find any kind of option to create a new role. I don't want to create group. I know there is difference between role and group. I have created roles and groups using SharePoint 2013 client library code, but now I want to create role manually in SharePoint 2013.
I am not sure if I understand this correctly but I am suggesting you a few things:
Supposing that you have access to the site permissions, you could navigate to Site Settings -> Site permissions (under Users and Permissions). In the ribbon you find the Permission Levels button and once you click it you will go to a page where you can add new permission levels or maybe edit/delete the existing ones.
When you create/edit a permission level, you can choose what kind of permission that permission level will have, for instance, "Add/Delete Items Items" for list permissions or "Create sub-sites/groups"
I would refer you to this link Use SharePoint permission management to create various roles in an app for SharePoint

Access Denied when using ExecuteQuery() for a Sharepoint site

clientContext.ExecuteQuery();
All I'm trying to do is to get (not edit) the list of users I'm a specific group from a Sharepoint site for an MVC app. I'm getting an Access Denied error when I run this line as an Admin. But this line runs just fine if I'm added to the Owners group.
I can also view the group lists through the Sharepoint site if I'm under one or the other or both groups via a web browser. It looks like both groups have the exact same permissions, too. What gives?
I'm unable to change anything else from the Sharepoint side as well, so this is not an option.
If it helps, I'm also using this as a tutorial: http://msdn.microsoft.com/en-us/library/ee538244(v=office.14).aspx
If you go to the group through the UI as a user you need to edit the setting that allows other group members to see whos in the group
Navigate to site settings > people and group > click on your Group > on one of the menus like actions theres an option for group settings. In this settings area there are two config sections, One is to do with who can add users to the group and who can see who is in the group. Check these settings are correct.
Cheers
Truez

Resources