Forum Discussion
How to hide recycle bin in modern UI?
Hi Ivan54,
Do you have any more details on the requirements? Do you want users to not be able to undelete files if they happen to accidentally delete a file?
- Ivan54Mar 06, 2017Bronze Contributor
Hi Pieter Veenstra,
The use case is a basic intranet solution based on modern teamsites.
Every departments gets a subsite where they can edit and all other employees have read access.
There is absolute no need for all employees to see the link to the recycle bin. Unchecking the "show quick launch" was exactly that, but now the only link that remains is the trash, which is even more absurd, then showing the full quick launch (incl. recycle bin) :)
To be clear, of course I do not want to "delete" the recycle bin, just hide the UI element. I can instruct the "editors" to navigate to websites contents and from there to the recycle bin for this scenario.
- Mar 06, 2017
Hi Ivan54,
I would iniitally thik that this is a permission issue. The best way this should be solved is by giving your read only users no access to the recycle bin. I wonder if you could simply resolve this by giving those read only user even less permission by creating a custom permission level.
I've not tested it recently but I could imagine that if you don't have permissions to delete a file that there wouldn't be any need for a recycle bin either. I remember in the past still seeing the recycle bin.
Using CSS/javascript to remove just the link would be easy, however paulpascha is right that this isn't somehting that is easily done within the modern SharePoint sites.
- Tomas PaulasNov 28, 2017Brass Contributor
Hi guys Ivan54,
I'm facing exactly the same issue - why would visitors see recycle bin ? I tried cut down the permission level, but no luck. It is either access denied or Recycle bin visible.
I brought it to UserVoice:
https://sharepoint.uservoice.com/forums/329214-sites-and-collaboration/suggestions/32405449-remove-recycle-bin-from-left-navigation-for-visito
Please vote!