Assignment of security to content.

learn more… | top users | synonyms

0
votes
1answer
2k views

CSOM Item Level Security “Cannot add a role assignment with empty role definition binding collection.”

I am trying to create an app that will set item level security for certain items in a library. However, I am getting the error mentioned above after these lines: item.RoleAssignments.Add( grp, ...
0
votes
1answer
81 views

How to validate if a SharePoint group already has permission on the site using Client Object Model?

I'd like to check if a certain group already has permission on the site using the client object model. I couldn't find any good example for that.
1
vote
1answer
114 views

Hide Custom Action

Hide Custom Action from all users and Groups except for anonymous users. For example I create custom action for registration page and I want this to appear for anonymous users only , how can this be ...
2
votes
1answer
229 views

.NET SharePoint Web Service - 401 Unauthorized - Grant Access to Web Service User?

I'm trying to connect to a SharePoint list via a C# console application either using a functional ID or with the default credentials. Option 1: SpService.Credentials = ...
1
vote
2answers
858 views

Prevent users from deleting webpart

In my SharePoint Portal I have web parts. I have added users to Contribute Permission level and hence he got permission to modify the page (Edit page option) and able to delete the web part. So when ...
0
votes
1answer
39 views

How can I display certain page to one group only?

I want to create registration form and display it for only anonymous users group I already make the anonymous users group
4
votes
1answer
378 views

App prison break

Me an my colleges were discussing the possibility of breaking out of the sandbox that a SharePoint-hosted apps provide. As most of you know host webs in SharePoint 2013 are protected by deploying apps ...
1
vote
3answers
3k views

Users in group with Read permission are able to edit documents and save back to Sharepoint

So I have a group of users for which the group permission on a document library is set to Read. There are other groups with other permissions, but there is no overlap in terms of group members. ...
0
votes
1answer
49 views

How to make an application page accessible to all users?

We are using SP2013, and have created an application page (policy.aspx), deployed via VS into layouts folder. Our environment has 1 web app with multiple site collections. The policy page should be ...
0
votes
1answer
38 views

is it possible to access web application from another server programtically

if I have full control rights on a SharePoint 2013 Web application which resides on another server, is it possible to access that web application on my server programmatically? for example can I ...
1
vote
0answers
47 views

Library Folder Permissions

We have a site named 'DistrictAccess' with a document library under it. In that document library we have many folders. I need to be able to stop inheritance on the 'Document' and devise a script to ...
1
vote
4answers
5k views

How to find permission level for specific user using visual studio?

How to find permission level for specific user in site collection and subsite using visual studio?
0
votes
0answers
94 views

How to restrict access to a page or folder in a SharePoint site with anonymous access?

I would like to restrict access to specific parts of my SharePoint site that has anonymous access enabled. For example, everyone can access the entire site, but I want a page to only be accessible to ...
0
votes
1answer
794 views

SharePoint hosted App permission

I deployed a SharePoint hosted app. Can Someone explain to me the permission scope Web? My app has to create lists and items on the site. Which permission do I need? If I want to publish the App on ...
0
votes
0answers
394 views

Can't add users to SharePoint site - Cross Domain causing an issue?

The user can view the site, they simply always receive "ERROR: Access Denied". The error message also picks up their domain\user as expected. I am using SharePoint 2010. The SharePoint server is in ...
1
vote
1answer
194 views

Break Role Inheritence Problem

I used following script provided by Nadeem for breaking permission inheritance of folder. but for me, when I tested ,it doesn't break inheritance at all. it is just assigning new group to the ...
2
votes
2answers
970 views

How to check username/accountname under which the code runs?

We want piece of code which we can paste in the code behind and get the username under which code runs for:- (usually .NET code runs under account of application pool) Timer job. Event receiver. ...
0
votes
1answer
339 views

What permissions needed for workflow to create subsite in sharepoint 2013 online?

I'm working in a sub-site of a sharepoint 2013 online site called "projects". Following the blog post at ...
0
votes
1answer
41 views

SharePoint 2010 - My Site Memberships Tab

I know that you have to be added to a 'member' group for the site to show within the Membership tab of My Site. However, if you have many permission groups on a site, does the Membership tab only ...
0
votes
1answer
43 views

Prevent the assignment of full control

Is there any way to allow someone to assign permissions, while preventing them from assigning the Full Control permissions level? Our organization (site-collection) has multiple sub-organizations ...
1
vote
1answer
25 views

Edit permissions, but not to all documents

I have a document library having documents (eg: word,pdf etc). User has add and edit permission to the library (required) But user should be able to edit a particular document. Can I set the ...
0
votes
1answer
56 views

Document sharing history, who shared this document with whom and when?

Is there a way to see when exactly a document was "shared" with someone else? For example, John doesn't have access to see Document A. So Matt, who has access to the document, clicks "Share" on the ...
0
votes
1answer
26 views

2010: Allow editing documents without editing web part pages

In SharePoint 2010, what is the best way to allow users with the "Edit Items" permissions to edit documents, but not web part pages? SP2010 lists this permission set as "Edit items in lists, edit ...
1
vote
2answers
431 views

How to prevent site collection admin delete his site collection?

We need to avoid our users, who are "site owners", delete his site collection by mistake. The only method I think of is use Jquery to hide/disable the "Delete this site" button. Do we have other way ...
1
vote
2answers
186 views

Under which account does code in web parts, user controls, timer jobs, JSOM on masterpage run?

I want to know under which account does code present in web parts, user controls, timer jobs, JSOM on masterpage run?
2
votes
2answers
452 views

Under what permissions/priviledge does the runwithelevatedprivileges code run?

SPSecurity.RunWithElevatedPrivileges Method Executes the specified method with Full Control rights even if the user does not otherwise have Full Control. 1) But which under which account does this ...
2
votes
3answers
1k views

Application page in layouts folder accessing web application object

There is an application page, deployed to the layouts folder. The URL of the app page is: http://server:port/sc2/_layouts/test/mypage.aspx Now, there is a user with read only permissions (added ...
0
votes
1answer
59 views

backup-restore without permissions

I want to restore backup from production environment to dev/test environment to get latest content from production environment. User/groups who have permissions on production are totally different ...
4
votes
2answers
4k views

Remove “Add new item” functionality from lists

I have lists where the items are created from nintex workflows. I need to prevent the users from adding list items manually, as the workflows ensure dependencies. Revoking the add item permission is ...
0
votes
1answer
201 views

Office 365: am I part of farm administrators group?

Is there a definitive check that I can do to determine if my admin account indeed is a member of the Farm administrators group? I'm familiar with SharePoint 2010 but new to SharePoint 2013/Office ...
1
vote
2answers
10k views

User has correct permissions for subsite, but access is denied?

I have a site in SharePoint 2013 with 12 subsites. All but one inherit permissions from the top site. The subsite with unique permissions is named "General". This subsite has 2 new groups: ...
0
votes
1answer
10 views

Calendar editing

Does Sharepoint have a permission setting that will allow only a user to add to a calendar/site and edit only their additions to the the calendar/site and is will not allow editing of anyone elses? ...
2
votes
3answers
666 views

How to view what a user has access to with PowerShell?

A user has limited access but I don't know what for. How can I view what this user has access to? I'm on WSS 3. Does anyone know of a PowerShell script to perform this method?
1
vote
2answers
40 views

Strange permission behaviour

We have a SP 2010 system. We recently discovered that users with no permissions to a library are able to open documents in a library if provided with a direct url link to the document, thereby ...
0
votes
1answer
92 views

Sharepoint Hosted Permission (SP 2013)

I am developing a test REST app currently, the app is sharepoint hosted and is being developed and deployed to the SP site without Sharepoint installed on my Machine. The app is meant to take in a ...
0
votes
1answer
85 views

Deny users access to site home, allow access to document library

I am using SharePoint Foundation 2010 and working on managing permissions at the moment. I would like all users to have access to the document library "Shared Documents". I would like only users part ...
0
votes
1answer
31 views

How to assign all users access to a particular page in sitecollection?

We have 5 site collections. 1 is for internal users and other 4 are for respective clients. None of the clients have access to internal site collection. There is an application page in layouts ...
0
votes
0answers
33 views

Unable to add application to sharepoint

I have a sharepoint 2013 application. There's essentially nothing in it other than the default pages/scripts/files In the app manifest, I went to add permissions to certain things such as Web -- ...
2
votes
2answers
110 views

sharepoint 2013 online permission bug

I think I found a bug in SharePoint 2013 Online. I have created a site with "internal documents" that has unique permissions set. If I save this site as a web template and I create a new site with ...
1
vote
1answer
870 views

SharePoint Global Navigation Tabs Security

Im having different tabs on the global navigation of site and there will be different groups who will be having rights to different tabs of the application. On click of the tab respective contents ...
2
votes
1answer
166 views

Limit number of users in a security group

I've a requirement like there should be only one user with some specific permissions on a given site. We should not allow Admin to add more than one user with those permissions, So I created a group ...
0
votes
1answer
21 views

SP13: Calendar Permission Groups

I have a calendar that I created in SP13. I would like to add others from a different site collection to the calendar. However, when I go to list settings > permissions that particular group name ...
0
votes
1answer
266 views

inheritance and subsites/site templates

I have a visitor group on my root site. I have a site template with my custom internal document library (no inheritence from root etc, and i removed visitor group from inheritance etc) After i have ...
1
vote
3answers
195 views

How to show certain documents in one library only to users who are member of certain group?

I'm trying to figure out how to show a view of a library only to users who are a member of a SharePoint group, which is also specified in the document library as a value in a column. Example: If I ...
0
votes
2answers
179 views

Are farm admin privileges required to update SPContentDatabase property bag?

If I store custom data inside SPContentDatabase.Properties, must I be farm admin to be able to update it? E.g. SPContentDatabase contentDatabase = GetContentDatabase(); ...
2
votes
0answers
138 views

“Discard a check-out” Option in Ribbon disabled

We have a problem with the "Discard a check-out" option in ribbon. The user checks out a page and without editing anything in the page, wants to discard the page by clicking the button which is ...
1
vote
1answer
3k views

Why is workflow giving access denied for admin/owner?

I have created a very basic workflow in SPD 2007 - for testing, I've narrowed it down to 1 step: "if 1 equals 1, send an email to myself". Also tried having it just update a field on that list item. ...
0
votes
2answers
2k views

Calendar Permissions - Edit/Delete

I was wondering if anyone knew of a way to give a user permissions to edit/delete calendar events but nothing else. For this I created a new group, and that group has only one permission level ...
1
vote
3answers
1k views

SharePoint document library permissions by level?

I've got a SharePoint document library with a folder structure as follows: The library is called Customers. Inside of this library, there are about 150 folders for each of our different customers. ...
2
votes
1answer
67 views

Timer job access to style library

In my timer job code, there is a section where for each site collection in the web application, I am reading an XML template file in the style library of that site collection. The code looks ...