Module 6 · 6.2
Setting up permissions and sharing again
Module 6: Files and documents · Reading time: 10 minutes
Learning objective: After this lesson you can design a new sharing structure with a permissions matrix, team folders and secure public links, instead of rebuilding the old shares one by one.
Key concepts: owner, shared folder, team folder (group folder), sharing with a user, group or team, read permission, edit permission, public link, password, expiry date, download limit, sharing by email, federated sharing, file request, permissions matrix, transferring ownership
Shares don't come across
In almost every switch, this is the biggest surprise: the files come across, but the shares don't. If you shared a folder with a colleague at Google or Microsoft, sent a public link to a customer or let a supplier view something, you have to do it all again in the new cloud. A migration tool doesn't know the people in your new cloud, and a public Google link has a Google address that stops working once you cancel.
That feels like extra work, but it's also an opportunity. After years of sharing, the old situation is often a tangle: folders shared with former staff, links without a password that have been open for three years, and nobody remembers who is allowed to do what. At The Granary Bakery, the "Staff" folder, with contracts and payslips, turned out to be still shared with an intern from two years ago. The switch is the moment to put that right.
Who owns a folder?
In every cloud, a file or folder belongs to someone: the owner. Sharing means the owner gives others access. That has two consequences:
- If the owner leaves, the folder is at risk. If their account is deleted, their files disappear, even if a hundred colleagues were working with them. You must transfer ownership first.
- Storage counts against the owner. Whatever colleagues put in your shared folder comes out of your storage.
So for anything that belongs to the organisation rather than to one person, use a team folder (other services call it a group folder, shared drive or project space). It belongs to the team. People come and go, the folder stays.
| Shared folder | Team folder | |
|---|---|---|
| Who owns it? | The person who created it | The team or the organisation |
| Someone leaves | Transfer ownership first | The folder simply stays |
| Storage | Counts against the owner | Counts against the team or organisation |
| Suitable for | Personal work you share temporarily | Departments, projects, anything that needs to last |
Design first: the permissions matrix
Don't blindly rebuild what was there. First create a permissions matrix: a table with the organisation's folders in the rows, the groups in the columns, and in each cell what that group may do. Work with groups or teams, not individual names. Then when a new colleague joins, you only need to change the group.
The Granary Bakery's matrix:
| Folder | Everyone | Shop | Bakery | Office | Management |
|---|---|---|---|---|---|
| General (rota, house rules) | read | read | read | edit | edit |
| Recipes | read | edit | edit | ||
| Shop (price lists, till) | edit | edit | edit | ||
| Accounts (invoices) | edit | edit | |||
| Staff (contracts) | edit |
Three rules:
- As few permissions as possible. Read is the default; edit only for people who really need it. That also limits the damage if an account is taken over or someone empties a folder by accident.
- Sensitive folders kept separate. Staff files, health data and the accounts belong in their own folders with a small group.
- One owner per folder. Agree who manages a folder and who decides who gets access, including for a team folder.
Sharing inside and outside the organisation
Within the new cloud you share with a user, a group or a team. You choose read or edit permission, and often further details such as whether people may delete or reshare.
For people outside the organisation there are more options:
- Public link. Anyone who has the link can get in, even if the link is forwarded. For anything that isn't truly public, set a password and send it through a different channel (link by email, password by text message or phone). Set an expiry date and, if possible, a download limit.
- Sharing by email. The recipient gets a personal link by email, without needing an account. Handy for an accountant or a customer.
- File request (also called a file drop or upload link). The other person can only drop files in, not see what's already there. Ideal for letting a customer send you documents.
- Federated sharing. With Nextcloud and other services that follow the open Open Cloud Mesh standard, you share directly with someone on another server, without a public link. The other person sees the folder in their own cloud.
A link with "hide download" looks safe, but it doesn't actually stop anyone: people can still view the file, and take a screenshot too. Don't rely on it for confidential documents.
Letting external parties know something is changing
Don't forget the people outside your organisation. At The Granary Bakery, that meant the accountant (folder with invoices), the printer (folder with designs) and two regular customers with an order list. Their old Google links stop working once the subscription is cancelled.
- Find all public links and external shares in your old service. Google Drive and OneDrive have an overview for this (for an organisation, also in the admin area).
- Decide for each link whether it's still needed. Often the answer is no.
- Recreate the links you need in the new cloud, this time with a password and expiry date.
- Send the external party the new link, with a short explanation and the date the old one stops working.
Leaving and handover
Permissions only stay right if you keep them up to date. Set out in your offboarding routine (lesson 7.3):
- Personal folders that are still needed: transfer ownership to a successor before the account is disabled.
- First disable the account, and only delete it after checking. A deleted account is gone, along with all its files.
- Remove the leaver from all groups and teams, and revoke their public links.
Do a quick review every six months: is the matrix still correct, and which public links are still open?
In practice: how it looks at a provider
In a WebOké Nextcloud you share from the Share tab in the details of a file or folder. There you search for a user, group or team, or create a public link with the plus icon next to Create public link. Under Customise link and Advanced settings you set a password, an expiry date and a download limit. Team folders are in Files, in the menu on the left. You create a team folder yourself in the Teams app: a new team gets one straight away, and for an existing team the owner creates it on the team's page. A team folder's storage counts against your package. The owner transfers ownership themselves under Settings, Sharing.
With other Nextcloud providers, an administrator can often create group folders. Other European clouds call it something different (shared space, project folder), but the choices are the same: who owns the folder, who may do what, and how secure is the link.
Summary
- Shares and public links don't come across when you switch. Rebuild them deliberately.
- Start with a permissions matrix based on groups and as few permissions as possible.
- Everything that belongs to the organisation goes in a team folder, not in one employee's personal folder.
- Public links: password through a different channel, an expiry date and, where possible, a download limit.
- Let external parties know their link is changing, and keep permissions up to date with a fixed offboarding routine.
Quiz
Exercise
Exercise A6.2: Checking a secure share link. In your new cloud, create a public test link to a harmless test file, with a password and an expiry date. Paste the link (not the password). The program checks that the link works over https and that the file can't be viewed or downloaded without the password.
Exercise E6.2: Your permissions matrix. Create the permissions matrix for your own organisation (folders, groups, permissions), assign an owner to each folder and make a list of external parties who need to receive a new link.
Exercise E6.2: Your permissions matrix
Write down your organisation's folders, decide on groups, and choose read, edit or nothing for each box.
Your ticks and notes only stay in this browser; we don't send them anywhere. If you're signed in, we only save in My courses that you've done the exercise.
Further reading
The steps in these articles apply to WebOké's services; other providers work in a similar way.
- Nextcloud manual 5.1: Sharing with a user from your own Nextcloud
- Nextcloud manual 5.2: Creating a public link: viewing, editing, password, expiration date and download limit
- Nextcloud manual 5.3: Having files sent to you: file drop and file request
- Nextcloud manual 5.5: Creating teams and sharing a folder with your whole team
- Nextcloud manual 5.6: Team folders: a shared folder that belongs to the team
- Nextcloud manual 5.7: Sharing with someone on another Nextcloud (federated sharing)
- Nextcloud manual 5.10: Transferring ownership when a colleague leaves
- Nextcloud manual 16.7: Colleague leaving: safely taking over files, calendar and shared folders
