How can I create a new Role in SharePoint 2013? - sharepoint

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

Related

Assign SharePoint document permissions to a custom group

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

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.

Unable to Create group in library permissions

I have a library in sharepoint which is not inheriting permissions from its parent site. However, when I go to library permissions, then to the Edit Tab->Grant group, there is no option to 'Create a Group'. There is an option to Grant Permissions to Individual users. Can somebody explain why there is no option to Create a Group in library permissions. I read the sharepoint manual and there should be such an option
SharePoint Groups can be created only on SPWeb level.
In your case you can created the group in the web containing this list, add required users and then you can grant permissions for this group to the list.

How to make webpart properties customizable only by an Administrator

I am developing a sharepoint 2010 visual webpart that will show some sort of ajax content.
I have a property on the webpart for the refresh rate, but I want this property to be set only by an Administrator (or any specific group).
What is the best way to achieve this?
Thank you.
In our organization, everyone by default is granted "Read" permission to our SharePoint sites through an "All Employees" Active Directory group. This allows users to browse the pages, but not edit them; and if you can't edit a page, you can't edit any web parts on the page.
Those who should have elevated privileges are added to other AD groups (you could use SharePoint groups too), and those groups are granted appropriate permissions.
You could create a custom Toolpart. Take a look at this example for a tutorial on how to create one.
Overall, your general steps will be:
Create your custom Toolpart class inheriting from Microsoft.SharePoint.WebPartPages.ToolPart
In your custom Toolpart, override CreateChildControls, write the code to display your textbox as long as the current user has permission (based on whatever rules you choose, ex: SharePoint group).
In your webpart, override GetToolParts and add your custom ToolPart so that it shows up in the right hand side

Hide Site Action WSS 3.0 SharePoint

I want to give a member a privilege to create a sub site or workspace with same permission as that of parent site. I have changed the OOTB "Contribute" permission level i.e. I have given permission to Create a web site. After doing this a Site Action Menu appear and I don't want it to be displayed when member with "Contribute" permission level is logged in. Is is possible to Hide Site Action at all without using designer?
Why not just create a new permission set, lets call it "Site Creators", that has all the option checked that contribute has + create site. Then create a new SharePoint group, add your users and add the new permissions set to the group's permissions.
Below are what I do usually. Hope it works for you too.
No.1 Open up the master page in SharePoint Designer.
No.2 Wrap the html of the Site Actions within a SPSecurityTrimmedControl.
No.3 Set the Permissions String as appropriate.

Resources