Assignment of security to content.

learn more… | top users | synonyms

2
votes
3answers
897 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 ...
2
votes
2answers
3k views

Preventing users from deleting an item from a task list

I am using the ItemDeleting event receiver to prevent users from deleting items in a Task List. Currently, my code looks like: if (properties.ListTitle == "Project Intake Tasks") { ...
2
votes
3answers
1k views

Hide a column on a custom list from non admins

When you create a new item is there a way to hide a field on the new item form? I have a status field which I dont want the user to fill in. I only want an admin user to be able to change the status. ...
2
votes
4answers
170 views

How to create “date based” folder permissions in 2010

I need to create permissions for folders based on dates. For example: Group B and Group A both have permissions for folder X. On june 21st of every year, group B will lose access to Folder X until ...
2
votes
1answer
791 views

How do I get the default member and owner SPGroups?

I want to show members and owners in a webpart. My site collection can be created in different languages, so I can't get needed groups like web.Groups["Contoso Members"]. Because it may be "Medlemmar ...
2
votes
2answers
614 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. ...
2
votes
2answers
198 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
1answer
147 views

Is it possible to have offline access in SharePoint 2010?

Can it be possible to have access to content in SharePoint 2010 when an internet connection is not available, i.e. offline access which will be based on permissions?
2
votes
1answer
556 views

How do I query of the current user permissions using REST Call on doesUserHavePermissions method?

I would like to find out whether the current user has "Manage Lists" permission in the site or not. I could not find any example to perform such a query using REST API Calls. The endpoint based on ...
2
votes
2answers
75 views

Is it possible to set up a subsite, which members of the parent site cannot access?

We definitely want members of the subsite to access the parent site, but not necessarily the other way round. Is this easy to do?
2
votes
1answer
3k views

Why I get “Attempted to perform an unauthorized operation” while looping groups users

Could anyone explain me why when I trying to loop user of a group foreach (var u in group.Users){....}, I get the error : Attempted to perform an unauthorized operation. I notice that inside ...
2
votes
1answer
368 views

How to partial disabling 'Open to Explorer' Ribbon Action

I'm disabling, for all user Rights, the 'Open with Explorer' button in the SPRibbon with the following code: <?xml version="1.0" encoding="utf-8"?> <Elements ...
2
votes
1answer
137 views

Contribute permissions for specific parts of a site

We're assessing SharePoint to use for our intranet site. I want specific groups of users to be able to edit some hierarchies of content but not others. For example, HR contributors should be able to ...
2
votes
2answers
1k views

Sharepoint 2010 > Central Admin > Create special permission

I have a business unit "Marketing" and they would like access to Central Admin Search Area. Is it a good thing to share Central Admin with business unit? Could I create a special permission that ...
2
votes
5answers
1k views

Specific Access to Files within Document Library

My company is trying to develop a solution within Sharepoint for sharing documents across similar departments of different companies. The requirement is that there is a store of documents that each ...
2
votes
2answers
485 views

Column Level Security Products

I am looking for recommendations on products that handle column level security. What is the best product out there? Any input will be greatly appreciated. Thanks!
2
votes
2answers
117 views

Iterate Site Collection Administrators across web app

How can I find out all the sites where the user is a primary site collection administrator or a secondary site collection administrator. We have around 200+ site collections and growing and hence ...
2
votes
2answers
3k views

Can an Application Page Permissions Be Set from SharePoint Foundation 2010?

Apologies up front... I'm quite new to SharePoint. I'm developing an application page in SharePoint because what I'm doing is a lot of custom development, AJAX/jQuery external database, custom ...
2
votes
2answers
3k views

Active directory distribution group and user permission?

We have two active directory security groups(internal) added into the sharepoint members group explicitly. GroupB is a subgroup of GroupA, when I search a user permission (went to the member group and ...
2
votes
3answers
5k views

How can I set permissions for a users group to see only one page?

Is it possible to set permissions for a users group to see only one page? Can it be done via Site settings or is this a programmable task?
2
votes
2answers
2k views

How to detect limited access role type in SPRoleDefinition?

I need to know how to detect the limited access role, when looping through role definitions for a list item. Item in code below is a listitem, using object model (c#). Code so far is: ...
2
votes
2answers
1k views

Personalizable web part custom property not shown for users with Contribute permission level

I've create the Web Part for SharePoint 2010, which contains simple custom property with PersonalizationScope.User. Web part inherited from the System.Web.UI.WebControls.WebParts.WebPart private int ...
2
votes
1answer
470 views

Manage File permissions using REST API

Is there a way to manage File permissions (roles) using the REST API? http://msdn.microsoft.com/en-us/library/office/jj860569(v=office.15).aspx I'm developing an app asking for permission on the fly: ...
2
votes
1answer
23 views

Is it possible to define distinct permissions per subsite?

In SharePoint 2013, I want to create several subsites on-demand and then associate users that will manage permissions in some of the subsites. Is this possible? Distinct permissions per subsite? ...
2
votes
3answers
976 views

User with Contribute permission cannot add new item to list

I am using SharePoint 2010. We have a list where a user (group) has Contribute permissions but are not able to click on the "Add new item" button in the list. When they click on the button, it throws ...
2
votes
2answers
91 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 ...
2
votes
1answer
49 views

How can I give a large audience access to a SharePoint task list without giving them access to the rest of what's on the site?

Our department has a department site as part of our larger company SharePoint site. We've created a task list on the department site, and we want a large group of people from multiple departments to ...
2
votes
1answer
1k views

Breaking page inheritance programatically in sharepoint 2010

I have certain page in SharePoint where i need to break inheritance remove certain security groups form the permissions permanently.Al i want to do is through programatically to be done.Please suggest ...
2
votes
2answers
1k views

Adding list item when user does not have permissions question

I am trying to programmatically add a list item to a SharePoint list. The code works fine when executed by a user with contribute permissions, but does not work when a user has view only. Funny thing ...
2
votes
1answer
172 views

2010 Permissions Issue for External Facing Site?: some can access, some can't

Our company houses external-facing collaboration sites for our third party users. We recently 3-4 months ago, updated to SharePoint 2010 and since then have had some issues with our external users not ...
2
votes
1answer
131 views

Permissions ignored for team site within personal site

This is SP 2010. I have a personal site (i.e. my personal site with My Host Site), and in that site I have created a Team site. In that team site, I have removed all permissions except for myself ...
2
votes
2answers
8k views

Permissions error setting up SharePoint 2010 PowerShell account privileges

SharePoint Foundation 2010 SP1 on Windows Server 2008 R2 Std SP1 (Domain Controller) in a simple farm with a single SQL Server 2008 SP1/Windows Server 2008 Std SP2 backend I realise installing SP on ...
2
votes
2answers
1k views

How can I create an upload-only folder in a document library?

Our HR department wants users to download a form that requires a signature. They would like users to be able to scan those forms once completed and upload them to a folder. These forms contain ...
2
votes
3answers
783 views

SharePoint 2007: Site owner can add/delete content query web part but cannot modify it

This is a hair pulling defect that I cant figure out. Out intranet has an extended content query web part that is widely used. After our last deployment site owners were unable to modify these web ...
2
votes
1answer
1k views

Two members of a group can't view list items in sharepoint 2010

I created a list on a top-level site. The list inherits permissions from the site. All members of the group share the same contribute-level permission. I have checked all views and all list items, and ...
2
votes
2answers
568 views

All sites are read only, even for site administrators

Every site in the collection is now read-only. I can still change settings in the central admin site but am unsure what has changed. This affects everyone, users with write permission, even site ...
2
votes
2answers
5k views

Permissions for users to send alerts to multiple users

We have a number of subsites (off a main site) which are project based. The project managers would like the ability to create alerts for their teams on specific items, such as Team Discussion and ...
2
votes
3answers
496 views

User permissions to run custom code from Document Library

I have a user that doesn't have permissions to a site (Limited Access) but have Full Control permission on one of the Document libraries within this site. Now if the user tries to run my custom code ...
2
votes
3answers
1k views

ItemAdding event and impersonation

I need to modifiy the Editor/Author (modified by/created by) SharePoint built-in fields in an ItemAdding Event Receiver on a list (I cannot use the ItemAdded event). For users with restricted ...
2
votes
1answer
147 views

SPO 2013 - Hiding/showing navigation items automatically regarding user's permissions

We are using O365/Sharepoint Online 2013. We are using the structured navigation on our root site (https://sitename.sharepoint.com) and when we adjust our permission levels for users, pages and ...
2
votes
3answers
79 views

2010: Broken inheritance reports

There was a tool for Broken inheritance reporting in the "SharePoint Administrator Toolkit" for SP2007 by Microsoft, info here, but I can't find something similar in 2010. What I am really looking ...
2
votes
1answer
26 views

SPO 2013 - Default Permission Groups

We are using O365/Sharepoint Online 2013. This question might sound a bit silly, but is there any downsides of removing ALL the default permission groups from Sharepoint Online and creating our own? ...
2
votes
1answer
69 views

Getting entire tree with webs, subwebs and lists fails if there is no access to atleast one teamsite

So I have a collection of some teamsites and subsites with their lists. And if I for example as a user don't have permissions for one subsite, then I have an exception after sending a request: ...
2
votes
1answer
48 views

Logo doesn't appear normally to some users

There is normal version which shows mostly to all users: There is error version which shows currently to 2 users: Worth to mention that those 2 users have read permission on homepage, somewhere ...
2
votes
3answers
330 views

Deleting user permissions from document library instead of site level

I wanted to delete a user permission from ONE of the various document libraries in a SharePoint site. But when i deleted the permission, it seemed to have deleted the user permission at a much higher ...
2
votes
1answer
77 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 ...
2
votes
2answers
52 views

Is it possible to have separate permissions for a form and the library it submits to?

We are using SharePoint 2010 and InfoPath 2010. I would like a form hosted on SharePoint to be available to any logged-in user, however after they submit I would like the library that receives the ...
2
votes
1answer
54 views

Using Metadata together with permissions levels

I can't wrap my head around how Metadata and permissions levels will play together on my sharepoint library. When I think of Metadata I think of a flatter folder hierarchy. At least, reducing our ...
2
votes
1answer
33 views

How to let users only be able to give permissions with 'contribute' as the highest level? SP 2007

I have to give a few users the ability to give permissions however I would like to limit their ability to only give permissions as high as "Contribute". They cannot have the ability to grant, Approve, ...
2
votes
1answer
3k views

Set list item permissions in Workflow 2013

I've created a workflow inside an "App for SharePoint 2013" project. I need to set special permissions to the curent list item inside this workflow. I read this ...