Home

Preventing users from seeing list items worldwide context

%3CLINGO-SUB%20id%3D%22lingo-sub-866748%22%20slang%3D%22en-US%22%3EPreventing%20users%20from%20seeing%20list%20items%20worldwide%20context%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-866748%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20for%20reading%20the%20case%3C%2FP%3E%3CP%3EScenario%3A%3C%2FP%3E%3CP%3EI'm%20planning%20to%20have%20a%20list%2C%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Eonly%20one%20list%3C%2FSPAN%3E%2C%26nbsp%3Bfor%20managers%20to%20fill%20in%20a%20questionnaire.%20They%20will%20have%20to%20answer%20the%20same%20questionnaire%20every%20year%2C%20so%20the%20list%20will%20grow%20over%20time.%20The%20data%20will%20be%20used%20for%20analysis%20and%20audit.%20It's%20an%20internal%20control%20questionnaire.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20managers%20are%20located%20in%20100%2B%20countries%2C%20and%20they%20may%20delegate%20filling%20out%20the%20form%20to%20some%20of%20their%20staff%2C%20but%20the%20send%2Fconfirm%20button%20is%20only%20for%20them%20to%20push%20(can%20manage%20this%20part%20by%20checking%20who%20the%20user%20is%2C%20but%20suggestions%20are%20welcome).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EHere's%20the%20challenge%20I%20have%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EThe%20items%20on%20the%20list%20should%20only%20be%20visible%20by%20country%3B%20staff%20in%20other%20countries%20should%20not%20see%20the%20items%20for%20their%20colleagues%20abroad.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20may%20make%20the%20draft%20available%20only%20to%20the%20author%2C%20but%20if%20there's%20more%20than%20one%20author%20I%20don't%20know%20what%20to%20do%3B%20for%20example%20if%20the%20manager%20delegates%20the%20filling-in%20of%20the%20form%2C%20two%20or%20three%20people%20in%20the%20same%20country%20should%20be%20able%20to%20see%20the%20draft%20answers.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EIs%20there%20a%20way%20I%20can%20control%20the%20visibility%20of%20the%20items%20by%20creating%20a%20special%20group%20(or%20groups)%20or%20can%20you%20suggest%20a%20different%20solution%3F%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20could%20create%20separate%20lists%20by%20country%20and%20merge%20them%20into%20a%20single%20one%20for%20analysis%2C%20but%20if%20possible%20I'd%20rather%20avoid%20that%20overhead.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAll%20suggestions%20are%20more%20than%20welcome.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20very%20much%3C%2FP%3E%3CP%3ELeonel%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-866748%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ELists%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPermissions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESecurity%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-867255%22%20slang%3D%22en-US%22%3ERe%3A%20Preventing%20users%20from%20seeing%20list%20items%20worldwide%20context%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-867255%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F216718%22%20target%3D%22_blank%22%3E%40Leonel%20GUZMAN%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20don't%20believe%20this%20is%20possible%20with%20%22out%20of%20the%20box%22%20SharePoint%20lists%20and%20permissions.%20You%20would%20have%20to%20consider%20a%20PowerApps%20solution%20where%20the%20data%20retrieval%2Fmanipulation%20can%20be%20performed%26nbsp%3B%3CSPAN%3Eprogrammatically%3C%2FSPAN%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20hope%20this%20helps.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENorm%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-867488%22%20slang%3D%22en-US%22%3ERe%3A%20Preventing%20users%20from%20seeing%20list%20items%20worldwide%20context%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-867488%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F216718%22%20target%3D%22_blank%22%3E%40Leonel%20GUZMAN%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAgree%20with%20Norman%2C%20there%20is%20no%20out%20of%20the%20box%20option%20for%20this.%20We%20are%20using%20Power%20Apps%20and%20Dynamics%20365%20for%20the%20same%20scenario.%3C%2FP%3E%3CP%3EYou%20may%20want%20to%20have%20more%20options%20as%20an%20admin%20which%20PowerApps%20%2B%20Dynamics%20giving%20you%20these.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlireza%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-870258%22%20slang%3D%22en-US%22%3ERe%3A%20Preventing%20users%20from%20seeing%20list%20items%20worldwide%20context%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-870258%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F216718%22%20target%3D%22_blank%22%3E%40Leonel%20GUZMAN%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20users%20have%20access%20to%20the%20list%2C%20then%20they%20have%20access%20to%20the%20whole%20list.%20There%20are%20ways%20to%20use%20views%20on%20pages%20to%20make%20it%20difficult%20for%20people%20to%20see%20the%20rest%20of%20the%20list%2C%20but%20it%20cannot%20be%20prevented.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEven%20if%20you%20use%20Power%20Apps%20to%20control%20what%20they%20see%20in%20the%20form%2C%20that's%20still%20just%20fancy%20smoke%20and%20mirrors.%20It%20won't%20prevent%20users%20from%20going%20to%20the%20list%20to%20see%20what%20they%20want.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20must%20have%20TRUE%20access%20control%20where%20you%20can%20guarantee%20that%20people%20do%20not%20see%20content%20from%20other%20countries%2C%20the%20only%20way%20to%20do%20that%20is%20to%20use%20separate%20lists%20with%20separate%20permissions.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20the%20list%20maintenance%20shouldn't%20be%20that%20hard%20if%20you%20use%20site%20columns%20and%20a%20content%20type.%20This%20will%20allow%20you%20to%20manage%20the%20columns%20and%20values%20from%20a%20central%20location.%20Add%20a%20new%20value%20to%20the%20site%20column%20and%20it%20will%20populate%20all%20the%20lists%20using%20that%20column.%20Add%20a%20new%20column%20to%20the%20content%20type%20and%20it%20will%20populate%20all%20the%20lists%20using%20that%20content%20type.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnalytics%20are%20easy%20if%20you%20use%20Power%20BI.%20Add%20the%20site%20as%20a%20data%20source%20and%20select%20all%20the%20lists%20that%20apply.%20Since%20they%20should%20have%20all%20the%20same%20columns%20and%20values%2C%20it%20should%20be%20pretty%20easy%20to%20set%20up%20a%20dashboard.%20You%20can%20then%20use%20row%20level%20security%20in%20PBI%20to%20control%20who%20sees%20which%20info%20in%20the%20dashboard.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-870320%22%20slang%3D%22en-US%22%3ERe%3A%20Preventing%20users%20from%20seeing%20list%20items%20worldwide%20context%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-870320%22%20slang%3D%22en-US%22%3EIn%20July%20MS%20announced%20that%20Flow%20would%20get%20the%20ability%20to%20change%20permissions%2C%20see%20%3CA%20href%3D%22https%3A%2F%2Fflow.microsoft.com%2Fen-us%2Fblog%2Fjuly-updates-for-microsoft-flow%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fflow.microsoft.com%2Fen-us%2Fblog%2Fjuly-updates-for-microsoft-flow%2F%3C%2FA%3E%20but%20this%20functionaliy%20has%20not%20yet%20showed%20up%20in%20my%20production%20tenants.%20In%20theory%2C%20you%20could%20use%20SP%20Designer%20to%20create%20a%20workflow%20to%20change%20item%20level%20permission%2C%20but%20this%20approach%20is%20no%20longer%20recommended.%20If%20you%20can%20wait%2C%20the%20new%20features%20in%20Flow%20will%20make%20this%20very%20easy.%3C%2FLINGO-BODY%3E
Highlighted
Leonel GUZMAN
New Contributor

Thank you for reading the case

Scenario:

I'm planning to have a list, only one list, for managers to fill in a questionnaire. They will have to answer the same questionnaire every year, so the list will grow over time. The data will be used for analysis and audit. It's an internal control questionnaire.

 

The managers are located in 100+ countries, and they may delegate filling out the form to some of their staff, but the send/confirm button is only for them to push (can manage this part by checking who the user is, but suggestions are welcome).

 

Here's the challenge I have:

The items on the list should only be visible by country; staff in other countries should not see the items for their colleagues abroad.

 

I may make the draft available only to the author, but if there's more than one author I don't know what to do; for example if the manager delegates the filling-in of the form, two or three people in the same country should be able to see the draft answers.

 

Is there a way I can control the visibility of the items by creating a special group (or groups) or can you suggest a different solution?

 

I could create separate lists by country and merge them into a single one for analysis, but if possible I'd rather avoid that overhead.

 

All suggestions are more than welcome.

 

Thank you very much

Leonel

4 Replies

Hi @Leonel GUZMAN,

 

I don't believe this is possible with "out of the box" SharePoint lists and permissions. You would have to consider a PowerApps solution where the data retrieval/manipulation can be performed programmatically.

 

I hope this helps.

 

Norm 

@Leonel GUZMAN 

Agree with Norman, there is no out of the box option for this. We are using Power Apps and Dynamics 365 for the same scenario.

You may want to have more options as an admin which PowerApps + Dynamics giving you these.

 

Alireza

@Leonel GUZMAN 

If users have access to the list, then they have access to the whole list. There are ways to use views on pages to make it difficult for people to see the rest of the list, but it cannot be prevented.

 

Even if you use Power Apps to control what they see in the form, that's still just fancy smoke and mirrors. It won't prevent users from going to the list to see what they want.

 

If you must have TRUE access control where you can guarantee that people do not see content from other countries, the only way to do that is to use separate lists with separate permissions. 

 

But the list maintenance shouldn't be that hard if you use site columns and a content type. This will allow you to manage the columns and values from a central location. Add a new value to the site column and it will populate all the lists using that column. Add a new column to the content type and it will populate all the lists using that content type. 

 

Analytics are easy if you use Power BI. Add the site as a data source and select all the lists that apply. Since they should have all the same columns and values, it should be pretty easy to set up a dashboard. You can then use row level security in PBI to control who sees which info in the dashboard.

 

In July MS announced that Flow would get the ability to change permissions, see https://flow.microsoft.com/en-us/blog/july-updates-for-microsoft-flow/ but this functionaliy has not yet showed up in my production tenants. In theory, you could use SP Designer to create a workflow to change item level permission, but this approach is no longer recommended. If you can wait, the new features in Flow will make this very easy.
Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies