Tag Info

New answers tagged

0

I think this is what you want: Assign the specified supervisor a task to review and approve or reject the request. If approved, send an email to HR with the details of the request Send the person that submitted the request a confirmation message Add the name and dates to a departmental vacation calendar If rejected, send the requestor a message with ...


1

Yes, it is possible. You can simply setup a workflow to create a new item in the calendar list, depending on the approval decision on the Vacation list.


1

All you need to change is the object where you add new role assignment, in you case: - change list to folder. Your modified script: function Add-SPPermissionToFolderGroup { param ($Url, $sourceFolder, $GroupName, $PermissionLevel) $web = Get-SPWeb -Identity $Url // $sourceFolderGets the folder that is located at the specified URL. ...


0

I had same problem and found that it's working when you add user using following format :("i:0#.w|Domain\Username").


0

It seems that the content is retrieved dynamically via CSOM or REST, in that case it could explain why it happens. The access to CSOM/REST in anonymous context is not allowed in SharePoint 2013 by default, please follow What Every Developer Needs to Know About SharePoint Apps, CSOM, and Anonymous Publishing Sites article for an explanation and the solution ...


1

It looks like access to the REST API can not be blocked within SharePoint. The only thing that can be limited is Client Integration, which can be turned off either per webapplication or within specific permissions. A good article can be found here ... http://www.grayston.net/2010/sharepoint-and-office-integration-lets-remove-it/ ... it also gives you an ...


1

if you check the error you will see which services account is complaining about it. i am sure it should be search services account. In order to resolve the issue please assign the SPSearchDBAdmin role permissions to that search services account. http://blog.sharepointsite.co.uk/2014_01_01_archive.html


1

I understand that you have a few documents, and a CSV of users with their associated permissions for those documents. You want to upload them into SharePoint 2013. Since each document has unique permissions, we need to set item-level permissions to each. Write a script to upload the documents to the SPList (there are a couple of ways to do this) Then, ...


0

I solutionned the issue with a workflow and an action replace list item permission I test on wich content type i'm and i set the related permission


0

this is not possible, when you deploy a feature its deployed to the whole web application and is visible to all sites be it site collection feature or site feature. There is no way to hide the feature based on groups/users access rights. The solution that i can think of would be to create a hidden feature, this would then look at the current feature page ...


0

Sadly, the permission request framework does not provide for this. Instead, I would create ListTemplates for your lists, which will give them unique template IDs. Then, you can specify the ID in the permission request: <AppPermissionRequest Scope="http://sharepoint/content/sitecollection/web/list" Right="Write"> <Property ...


0

The problem is that the Role Provider doesn't know where the Users exist if you're Groups and Users reside in different OU's within AD. Adding the userContainer= line that you have within your MemberProvider input to the RoleProvider in the web.configs will fix the issue. ...


0

The user needs to select the folder , Click on callout(...) --> Click Shared With -->Advanced--> Then break inheritance and click Grant Permission to give permission to users.. See this blog for more details. The user must have at least Full Control permission or create custom permission level having "Manage Permissions".


0

Yes. I'm going to assume that you have a proscribed set of permission that should be assigned to certain users. First work out what your default users should have access to in terms of view/edit/manage etc. for each part of the site. Next either create a new user group or use the Members group. As a general rule you'll likely have a view permission for ...


0

This is a fairly open question and not specific to any code but as far as solutions and without writing all the code for you... After a given folder is displayed, you need to determine if it has children in order to show the Add Item button You can use the SharePoint 2010 Client Object Model to detect this based on client context and JavaScript to perform ...


2

I would continue to use metadata tags but use actual SharePoint groups to limit the permissions. Give each department their own document library where the respective group contribute permissions and other departments have read permissions as necessary. Then you can use a content query web part to roll up the documents and not have to worry about ...


1

You are correct that you cannot publish an app to the store that requests FullControl. However, you can upload any app to the App Catalog in your tenancy. (Also, be aware that Autohosted apps have been discontinued. MSDN has guidance on transitioning to Provider-hosted.)


1

Go the Page "Info", Click on "Page" tab next to browse, Click on Page Permissions button. On Permissions tab click stop permissions. Now Grant Permission to your 'TestUser' to "Edit". Edit the permissions of all the groups and members to "Read".


0

For information it's possible with powershell With this you can choose permission you want and if you want only add you can do this like this: Add-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue $url="http://mysp" $web=get-spweb $url #check permission level doesn't exist if($web.RoleDefinitions["AddOnly"] -eq $null){ ...


2

I wouldn't use metadata to do a workaround on permission when you already have item level permission built in. By default your documents inherit site permission and those with sufficient permission can read, update and delete documents. But if you want specific permission on a document, edit sharing the following way. Select Shared With Click Advanced ...


1

You are likely adding him to a group. Use the "check permissions" option in the advanced permissions area to see which group he is in. The list of names often does not contain all users if there are many placed in groups.


1

This is the default for items that have NEVER been checked in. There happens when someone uploads an item without filling in required metadata (usually through windows explorer) There is a view for administrators inside the library settings area specifically to locate these items.


0

For anyone else wondering, here's the answer... Back in May I ran gpresult against user A and user B. I compared both users and noticed one difference. I'm still not sure why, but user A had a single registry key group policy preference that was not applied like the rest of the users in the entire domain. Thus, user B had all the same group membership, ...


0

Yes. There are two things you have to take care of: The user/group will need atleast read permission to the Look-up List. The number of look-up columns in your list should ideally be less than 8. If there are more than 8, then you will again end up with issues.


0

This is not possible. SharePoint expects user to have permissions to view those items which are added by the user. However, If you want to ensure privacy by not letting users to view others items then go to List/Document Library Settings -> Advanced Settings and then set options for Read Access as "Read items that were created by the user".


0

You can add a filter to the view. Filter it down to the user who created the file. Reference:- How can I allow users to add documents to a library but not be able to open other documents listed?


0

Out of the box I don't think there is anything you can do to achieve this. However, if you have access to SharePoint designer you can create a workflow to move submitted documents out into a separate document library with restricted permissions.


1

The same is possible in Office 365. Just go to your site collection where the app resides that you want to revoke access. Go to Site Settings, and in the User and Persmissions group, follow the link to Site app permissions. From that page you can easely revoke access to any app within your site collection. You can also access the page directly using ...


0

If you want the navigation to display without regard for security, then you will need to maintain the navigation manually instead of relying on the automatic "Show sites" capabilities. However, I would suggest that links to site for which you do not have permission be hidden. This will reduce the number of times users will get the Access Denied page.


0

I have found a solution with: public bool DoesUserHavePermission(string RelativeUrl) { File file = clientContext.Web.GetFileByServerRelativeUrl(RelativeUrl); clientContext.Load(file, item => item.Exists); clientContext.ExecuteQuery(); return file.Exists; } It's return false when the file doesn't exists but ...


2

SharePoint comes with security features for privacy. In your specific case if students are using Document Library to add their work then you can go to its Settings -> Advanced Settings and then set options for Read Access as "Read items that were created by the user".


2

Easy solution will be to create a Document Library and inside that folder for each student. Each student will have Contribute permission only in his/her Folder and will not have any permission on any other folder. Make your account as Site collection administrator, and give yourself Full Control permission in all of the student folders. You can see this ...


0

The solution turned out to be very simple (and strange). It actually did not have anything to do with the code. Here are the steps I took to regenerate the issue: Create a site collection. Create a sub site in that site collection. Deploy your app to site collection URL (not the sub site's). Browse to the sub site and add the app. Go to the app (which ...


0

You might need to use SPRoleDefinitionCollection using(SPWeb web = SPSite(webUrl).OpenWeb()) { SPRoleDefinitionCollection roleDefinitions = web.RoleDefinitions; SPRoleDefinition roleDefinition = roleDefinitions["Full Control"]; foreach (SPRoleAssignment roleAssigment in web.RoleAssignments) { if ...


1

No. If you are manually creating a site then the parent site permissions will be inherited by default. You will have to manually break inheritance in Site Permission Settings. However, if you are creating a site programmatically then you can use SPWeb.BreakRoleInheritance(true) method to break inheritance.


1

We are in a similar situation. We recognized that in some case our permissions are unqiue but allways the same :) (unique permissions in some flow was always setting the same 2 AD groups). This is helpful as we can move these items down into a folder that has the unique permissions without having to assign it to each item individually, reducing the amount ...


0

If you remove the item level permission then you cannot get the same security level. Once you removed the item level then you move list level permissions. user can get the view / edit / delete at list level. To get this done, you may think about 3rd party solutions. How much total time Page taking to load. 3000 MS mean 3 sec that's not bad in my opinion, ...


0

Or you could use something easier, like allowing folders in your list, then setting permissions for each folder.



Top 50 recent answers are included