Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to pull a URL from a SharePoint list the users don't have rights to, based on the current user

Posted on 2012-03-30
4
Medium Priority
?
251 Views
Last Modified: 2012-04-15
I'm trying to add a link to a page based on a list the user does not have access to. How can this be achieved?

I have a custom list with a people picker and a URL. One security group would have access to viewing and editing the list. Regular users should not be able to see the list in "all site content" or view the list contents at all, only have their URL retrieved from the list.

I've tried some audience targeting, specific item level permissions (unreasonable maintenance for the admins), filtering views, etc. And cannot achieve the requirement. Any suggestions?
0
Comment
Question by:John
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 32

Expert Comment

by:Jamie McAllister MVP
ID: 37790144
No! This is totally contrary to the whole concept of security trimming et al where the disallowed assets are completely hidden.

The only way to achieve this would be custom coding IMHO where you impersonated a user, iterated through the assets recording security exceptions, and displayed the report.

This would be inefficient as would need to be done per user.

Without custom coding I dont think you can meet this requirement due to the security model.
0
 

Accepted Solution

by:
John earned 0 total points
ID: 37808223
The solution I decided on, was to create a custom List Workflow in SharePoint Designer that modifies item-level security on new or changed items. This should meet the requirement and besides a minor concern about re-inherited permissions, it should do what's needed.
0
 
LVL 32

Expert Comment

by:Jamie McAllister MVP
ID: 37809679
It's common to get failures when changing item level permissions through code occasionally. (Adding or removing the permissions.) Hope the WF handles that.
0
 

Author Closing Comment

by:John
ID: 37848033
Suggested alternatives were unclear on specific details to accomplish my goal and I discovered a solution on my own.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question