Sharing accounts with other users and groups
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Great plugin, really awesome job!
I got one thing on my wishlist, which is to be able to share an account with other users or groups.
Usecase: My nextcloud consists of around 10 teams having around 20 members each. Every team is a project having a shared e-mail account and there is a shared e-mail account for all teams. When a new member joins a team, he/she needs to be able to access the shared e-mail accounts. Sending him or her the credentials is dangerous and if he/she leaves the team the credentials need to be changed. Therefore it would be great to have the opportunity to create an account and share it with other users or user groups. Then they can access the e-mail account as long as they are part of the group, if they leave I just unshare the account and do not have to change the credentials.
From what I can see it could be done by:
- create oc_mail_shares table
- create sharing section in account settings page
- add join to oc_mail_shares table in MailAccountMapper.php
Unfortunately I'm not yet fit enough to do it, but if someone from the core team could advise if that approach is feasibel, I could give it a try
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing MailAccountMapper.php and the account settings page, then examine the proposed oc_mail_shares table and the issue discussion for guidance on sharing with users or groups. Done means shared accounts can be accessed by the intended users or groups and access can be removed when membership changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- authorization, backend, database, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100