Forum Discussion
Prevent users from deleting files within a channel
I’m new to teams so hopefully his will make sense. - in a channel I have been clicking files (next to where it says wiki and then Under that clicking + cloud storage. Then from there I have been linking to the sharepoint site.
It’s only the root (main) folder that’s is unprotected. This appears to be the folder that contains the link as it has a link symbol on it.
I’m not back in the office Until tomorrow to try anything but does that make more sense?
You could click the + to right of wiki and link to document library there instead and in The teams settings I believe you can restrict tab deletion there.
- d3ellApr 30, 2020Copper ContributorThanks for the idea. I’ll give it a try tomorrow and let you know how I get on.
Another quick question if you can help? (If not I’ll set up a new thread)
I created a private channel within my team, this in turn created another “child” sharepoint site (I assume to manage the unique access permissions). I then added files to this new private channel which appeared in the newly created ‘child’ sharepoint site.
I later decided that I didn’t need this anymore so I deleted the private channel in the teams app.
I noted then that I couldn’t access The child sharepoint site that it had set up nor could I access any of the files that were in this child sharepoint site by any means.
I have managed to recover The files through the manage channels in teams and I now have access to the files again (phew!) my question is though is that as far as I understand the deleted channels only stay in there for 21 days. Had I left this for more than 21 days would my files have been completely gone?
I would just find this a bit worrying to use a private channel if the data could never be recovered if Deleted and then left more than 21 days. In all honesty it’s unlikely to happen but the great thing about DB and OneDrive/SP is that you can always recover your deleted files- PeterRisingApr 30, 2020MVP
When you delete a Team, or a channel within a Team (public or private), the SharePoint Site is not automatically deleted with it, so you should still have been able to access the SharePoint Site.
- d3ellApr 30, 2020Copper ContributorThis sounds more like the expected behaviour, maybe I did something wrong. I’ll try experiment again Tomorrow.
Thanks for all your assistance.
Much appreciated.
- PeterRisingApr 30, 2020MVP
Good shout about the tab I think. Would imagine that only Teams Owners could delete the tab once added.
- d3ellMay 01, 2020Copper Contributor
PeterRising ChrisWebbTech Hi Both,
Thanks for your inputs on this, whilst yes, this does work it doesn't have the same sort of desired experience for the user as when a user clicks the tab link it actually navigates you to the sharepoint website, whereby you sometimes have to log in again and its all just a little less user friendly to the end user as opposed to how i had it set up before whereby all the files were viewable from within the teams app. Which worked perfectly fine, just with the exception that anybody, even a guest could delete the root (link to sharepoint) folder meaning that it would be missing for everyone. I'm in the process of moving to teams and I'm wanting to build a robust experience before rolling it out that i know cannot be upset by anyone tampering with it as we are going to be giving guest access to all our engineers who are out on site. - it just seems a bit strange that you cannot protect that folder from being deleted!?
I have come up with a work around, whats your thoughts on this? - it has meant me having to reshape my data a little, but it seems to work, however you guys with your experience might have some input to tell me different or if its likely to cause issues in the future.
as a bit of background to why I tried this was that I had noted that when i added a channel within teams that it created a folder in the sharepoint site documents area with the same name.
so what i have done is created a totally separate team site for our "external team" and i have created this from the sharepoint site where all the documents were held (the one which i was linking too previously) which was our employee portal sharepoint site. In the teams site i have then added a channel and made it the same name as the folder in the sharepoint documents site. I did this for all the folders in there and they then when you clicked this folder in teams, as it had the same name it automatically had all the docs in them.
As far as i can see at the minute seems to work as i can choose within teams to say that guests cannot delete channels and also when the guests click on the channels in their app all the documents are read only. - Do you see any issue with using it this way? it does mean that i now would have 2 teams sites, one for office staff and one for the site team, however this could actually work better i believe.
Thanks again for you inputs, much appreciated.
- May 01, 2020Sounds like a good strategy to me.