Feb 26 2018 05:20 AM
Feb 26 2018 05:20 AM
I have a scenario with external users.
I created a custom permission level for these users. The custom permission level is a copy of the default "Read" permission level, but I unchecked the "View application pages" permissions.
The external users are however still able to see the site contents page and, even worse, the 'site usage' page.
I also activated the "Limited-access user permission lockdown mode" site collection feature. And I tried to work with limited access for external users, but then they don't have access at all.
Is there a way to achieve what I want? A permission level where (external) users are not able to see site contents and site usage page?
Thanks in advance!
Dec 08 2020 10:56 AM
Hey! Sorry for being so late. Its important to note that this will only work on MODERN sites and pages. I have tested and seen that it will work on MODERN lists and libraries.
Any thing classic and it will not work. Hope this helps.
Dec 09 2020 08:26 AM
@phil333 Thank you again, this did the trick! What can I say, you are a savior :)
All the best,
Dec 10 2020 05:57 AM
I am using sharepoint online modern experience. My issue is in navigation. When I navigate though list or library the extension doesnt work but on refreshing the page it works. I am checking other blogs as well about rendering and architect of sharepoint that how it loads the page partially. I am still not able to solve this issue. Can u help me in that?
Dec 10 2020 07:18 AM
Ill do best to try. So you say your trying to hide the recycle bin right? And much like the site contents gear, it loads after the page does?
You could try putting a console log before what ever code you have to execute. That way it will at least let you know its running.
Also this may be redundant, but the code I provided only runs based off permission. Are you testing this with an un-elevated account?
Dec 12 2020 12:42 AM
I am using modern SharePoint and user is limited as well. I am attaching a video for your reference that whats the issue I am facing. I have alert and Dialog messages in my extension. You will see when I am navigating the extension code doesn't trigger but after refreshing the page it works. Thats my problem. Have a look at it.
Also for your referencing there was something on ELIO blogs about the page transition and issue in spfx extension while navigating. I tried this as well but no luck so far.
Jan 17 2021 11:49 AM
@TristonT I tried the solution, it works but my navigation has stopped showing up. My navigation is basically just 3 links to 3 different view of the same list. when i access the link my manually i do get access to it though.
I tried re-enabling the view application pages permission back then my navigation show up. But the issue with site content and site usage access come back
Mar 19 2021 07:42 AM
May 28 2021 08:34 AM
May 28 2021 09:58 AM - edited May 28 2021 09:59 AM
I don't have a solution to this I'm afraid, but as former owner of a wiki development company I'm still surprised that anybody uses Microsoft's wiki in SharePoint. It was rubbish when it was released all those years ago and never got better because they never put any effort into developing it. At my company we now just use ordinary site pages for collaboration and knowlegebases.
May 28 2021 10:12 AM