Tag Info

New answers tagged

0

When you change existing structure of the workflow your old running workflows will fail at the time they rehydrate. This happens because the your old item's workflow definition is not match with the latest definition. The option is you need to keep the old workflow and publish the workflow as new workflow. Then go to the list -> workflow settings and set no ...


0

I build this. private void ResetRoleInheritance(SPSite site) { foreach (SPWeb website in site.AllWebs) { // Reset role inheritance, except root website if (website.HasUniqueRoleAssignments && !website.Url.Equals(site.Url)) { website.Update(); // TODO ...


0

Troubleshooted the issue and finally resolved. Ianted to post here so that it helps others after going through different trials and reading the user deleting them and again adding them to group, asking them to upload document and try to check out and edit on them did not helped much. I have gone through these steps and helped me in resolving in the ...


0

Try using SPRoleType I hope this helps, I haven't tried it out, but here is an example : The way that would cause localisation issues : web.RoleDefinitions["Read"]; The way that wouldn't cause localisation issues : web.RoleDefinitions.GetByType(SPRoleType.Reader); Taken from here : ...


1

You are able to do it with custom permission levels. http://www.sharepointdiary.com/2013/05/how-to-create-new-permission-level-in-sharepoint-2010.html Link is for SharePoint 2010, however 2013 won't be too different. Rename file is not one of the options though. However, If a user cannot delete a file, they should not be able to rename it either. Try a ...


0

There's a fairly easy way to hide or disable controls based on permissions. See this blog post. Basically, you set up a second list and give everyone read access to it, then you create an item (perhaps put "Yes" as the title) and remove permissions for that item from everyone except for the approvers so that only they can see that item. Then you add that ...


1

Use SharePoint:SPSecurityTrimmedControl with PermissionsString="FullMask". Then only users with full control or site collection administrators will be able to see the Gear icon for site actions, but this will hide all site actions menu . <SharePoint:SPSecurityTrimmedControl ID="SPSecurityTrimmedControl1" PermissionsString="FullMask" runat="server"> ...


0

Is this happening when the users accesses the document library and then selects the document or are they using a direct link to the document? If they are using a direct link give them a document library link and ask them to open it.


0

If you're jQuery file is in a document library, ensure that Team Site Visitors have atleast Read permissions for that document library and also ensure that the jQuery file is checked-in and published (if needed).


0

As the issue is reoccurring on a weekly basis it surely points out to a fault Timer Job. Please narrow down your ULS log and you'll find out the culprit. I read in a blog which I'll refer once I find the URL, there are couple of Jobs which can do this and out of them one is "Recycling Bin". You should surely set it to stop on Friday and see the result on ...


0

We have to understand how SharePoint works... We are trying to access a subsite here without any permission to the parent site collection. Its almost like trying to access 2nd level floor with the main gate closed. Please grant Read access to the user at the top level site collection and give required permission to the user at the subsite2. @Arko has ...


0

Using csom PowerShell you can try below function to give a group your desired permissions it uses Microsoft.SharePoint.Client.RoleDefinitionBindingCollection and Microsoft.SharePoint.Client.RoleType to get role types. function Set-PermissionsOnList() { param( [Parameter(Mandatory=$true)][string]$url, ...


1

You should use microsoft.SharePoint.Client.RoleDefinitionBindingCollection instead of Microsoft.SharePoint.Client.RoleAssignment. Try below snippet (Not tested but will give you idea of what all steps are required): # Get the list by Title and load. $web = $ctx.Web $list = $web.Lists.GetByTitle("Quiz") $ctx.Load($list) # Load in list of groups on the ...


0

It appears what you are doing is correct. You can view the official documentation on How to: Break Role Assignment Inheritance Using JavaScript. The subsection on Breaking the Security Inheritance of a Document and Changing the Permissions of a User is the most pertinent.


0

It all depends on the what the external users are exactly looking for and what information/attributes they can pass for authentication . 1 -> If the external users are interested to use gmail , fb or linked accounts for login to Sharepoint app , you can implement OpenID . 2 -> Site Minder can be used for authentication of external users 3 -> ADFS , IDAM ...


0

Magali, This very same problem happened to us not too long ago...and I was pulling my hair out for days. It may not apply in your case, but some of our user AD accounts were recreated for some reason. Even though their user name stayed the same, the SID is different when you recreate and account. We had to do exactly what you mentioned. We had to delete the ...


0

This answered my question: https://support.office.com/en-au/article/Edit-permissions-for-a-list-library-or-individual-item-5b900de3-9123-41c9-aa04-919ae6606d40 You break the inheritance, then remove all users, then add who you want.


0

Turns out: Quick Links are different between different people/groups. The Library wasn't showing in the Quick Links so I assumed that I couldn't access it. Document Version Draft Item Security was set to Approve + Author only. When following a direct link, it would take me to an empty library. Solution: Setting Draft Item Security to 'Any user who can ...


1

Open the SharePoint Central Administration web page from another PC.


-1

I forgot to check-in the documents. Thanks kesava


0

This solved the issue am facing. I have asked him to click on request access and i got mail and i have given him the access and he is able to get the site accessed now. Its really strange . But i am still confused why all the other users got access and only not him.


0

OK, I have finally fixed the issue, in SharePoint Designer I went to All Files > _Catalogs > masterpage then I selected all files within the masterpage folder and did a bulk checkout then a bulk checkin and publishing a major version. My standard users can now access the subsites which were previously failing with access denied messages. Not sure which ...


0

Pick a few affected users. Open your list settings and go to list settings and then use the "check permissions" button to validate their access. If you are using custom permission sets - you need to be sure you have set what you think you set. They need at least the Add and Edit Items permissions (plus all the permissions required to view the list and ...


1

If you want to do things based on the current user's permissions here's your solution: var ctx = new SP.ClientContext.get_current(); var web = ctx.get_web(); ctx.load(web, 'EffectiveBasePermissions'); ctx.executeQueryAsync( function () { var permissions = web.get_effectiveBasePermissions(); ...


0

The solution was to add the Group as a contributor on the site level. This is unacceptable, does anyone know of another solution?


0

You mention "lists" - do all of your lists have the same permissions? Would need a bit more information about the lists and how they are interacting (lookup columns, item-level permissions, etc) to be able to pin-point the issue. A common issue is that alerts do not work on lists that have the Advanced Settings > Item-level Permissions set to Read access ...


0

If the pages reference, even one item from somewhere where you don't have rights you will get access denied. Run browser tools and start a network trace when you access the page. You should see all the requests being made for the page and resources. Review those and you should be able to see which element is being requested (and from where) that you can ...


0

I would like suggest to use 3rd party solution Workflow Actions Pack to solve this task. It contains Add User to SharePoint Group workflow action. Moreover it allows you dramatically extend functionality of SharePoint Designer, because it contains more than sixty additional workflow actions. Please have a look at full list of workflow action in ...


0

I had same issue. I simply had to provide global read access to the master page library. Site actions > site settings > Master Page and page layouts > Library tab > Permissions. Add All authenticated users to READ ONLY.


0

I faced the same issue and believe the answer lies in this statement at this link: https://msdn.microsoft.com/en-us/library/office/jj163864.aspx Apps that request rights for the User Profiles scope must be installed by a tenant administrator, and they cannot be installed in Office 365 Small Business Premium version of SharePoint Online.


1

must not see How crucial is it that the user not gain access to filtered items? Set a filter on a view, Assigned To = "[Me]". Make it the default view and if necessary delete other views which would reveal the items.


2

You will need to break inheritance on the list items and then assign or remove permissions as needed. With SharePoint 2013 workflows - there is no activities available to do this. You can make a REST activity to call the API to do it, but it's an undocumented API (i.e. not supported). The other option is to use SharePoint 2010 workflow. You can either ...


2

You would want to create a default view on your tasks list where Assigned To is equal to [Me] and percent Complete is less than 100. This will filter the data to show the current logged in user's tasks that are not complete. This isn't secure in the sense, the user could get to all the list items, it is just a filter of the existing list data. I don't know ...


2

In 2010 it is not possible, not sure about sharepoint 2013.You may refer, http://dannyjessee.com/blog/index.php/tag/apps-for-sharepoint/ https://social.msdn.microsoft.com/Forums/en-US/835b0d48-8fb5-47d4-bc1a-502c18f59568/runwithelevatedprivileges-in-share-point-client-object-model


9

No, you cannot elevate privileges in JavaScript CSOM, nor would you want to. Remember there is nothing stopping end users from crafting their own scripts and running them via a developer tool like IE's Developer Tools or Firebug. If you could elevate privileges via JavaScript, it could mean disaster on your Farm as regular users could just write a script ...


1

One option is to make two lists, and utilize a Workflow. The concept is user has add/list permissions on List1, no permissions on List2. User creates item in List1, Workflow then moves the list item to List2. You can either leave the item in List1 if you wish the users to be able to see the items they've added (though another workflow may be needed to ...


2

You could create an Add Only permission level, but by it will include view items. If you apply this to the list permissions, it would allow them to add items. You could use the item level permission settings (List Settings -> Advanced settings -> Item-level Permissions set Read access: to Read items that were created by the user) that allows them to view ...


0

No If you are giving a visitor permission level to external user it will have visitor permission on whole of subsite or site collection. For this workaround you can do is to have a code(CSOM) on your master page which will check the user and the current url so if the user is external and url is other than the page for which he has access redirect him to ...


1

To change the permission sets you need to have full rights or be a site collection administrator. However, as @unnie stated, you can't control permission on a per column / field basis directly with SharePoint. There are a few ways to approach this that I can think of: Create a custom form and push data to list - this gives you most control and you can ...


0

Since displaying an entire document library to unauthenticated users doesn't seem to be possible, as a workaround I created a page where I can add documents to be displayed to users as required.


0

Make sure you have followed each steps rightly 1)Enabling the anonymous access to the Web application from Central Admin 2)Enabling the Anonymous permissions in Web application settings. Go to Site Permission screen http://www.codeproject.com/Articles/569965/GrantingplusAnonymousplusAccessplustoplusSharepoin


0

Try calling list.Update(); before context.ExecuteQuery();


0

A related answer was posted here by Vadim Gremyachev. It turns out checking the IsSiteAdmin property on the current user object directly isn't a reliable result; instead, checking for the property on Site.RootWeb.SiteUserInfoList was a reliable approach for me. CurrentUser.IsSiteAdmin should be true but returns false Another way to determine whether ...


0

You can't set permission to anything smaller than SPListItem which means you can't grant permissions to columns using OOTB SharePoint. However you can use Javascript tools like Dynamic Forms to specify which columns can be edit by whome. For your second point you could simply create task lists for each department, specify unique permissions for those lists ...


0

By default SharePoint does not support the item level permission to anonymous users. You can refer the work around posted in this article. But my personal opinion would be not to go for that. As it requires to create the AD user and create module etc. If there is one page only to which you are required to give the permission to anonymous users, you can move ...


0

Internet Explorer? Try to add the root site of your SharePoint to the "Compability View Settings". => Gear symbol in the upper right in IE => "Compability View Settings" ("Einstellungen f├╝r Kompatibilit├Ątsansicht" in german)



Top 50 recent answers are included