Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sharing accounts with other users and groups #572

Open
soudis opened this issue Oct 17, 2017 · 8 comments
Open

Sharing accounts with other users and groups #572

soudis opened this issue Oct 17, 2017 · 8 comments

Comments

@soudis
Copy link

@soudis soudis commented Oct 17, 2017

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.

@ChristophWurst

This comment has been minimized.

Copy link
Member

@ChristophWurst ChristophWurst commented Oct 17, 2017

@jancborchardt

This comment has been minimized.

Copy link
Member

@jancborchardt jancborchardt commented Oct 17, 2017

This seems to be a very specific case. But yeah, @soudis if you are down to contribute and maintain the feature it could be done, I guess?

@bpcurse

This comment has been minimized.

Copy link

@bpcurse bpcurse commented Jan 15, 2018

Another thank you for this great piece of work!

The proposed feature would be very helpful for co-working and distinguishing to other software solutions - at least I didn't find any open source software supporting this - and I'm quite sure the scenario is not uncommon. We too have multiple groups using different co-working email accounts.

If this feature is ever to be realized it would be great to be able to share an email account to selected groups / users optionally as "read-only". E.g. as in "groupfolders" app admin settings. The user can view the account, but mails are not marked as "read" and they cannot be deleted (and sent).

Account credentials: The shared e-mail accounts login data could also be set globally in admin settings alike "external storage". Although this requires the user who creates it to be part of admin group.

@moonwolf-github

This comment has been minimized.

Copy link

@moonwolf-github moonwolf-github commented Jan 16, 2018

Shouldn't it be done with mail lists?

@bpcurse

This comment has been minimized.

Copy link

@bpcurse bpcurse commented Jan 30, 2018

@moonwolf-github Yes and No.
Mailing lists can forward the mail to all other users but mailing lists cannot grant the users access to the folder structure and the actual situation / changes inside it (read yes/no, marked as favorite, moved, deleted, junk, and so on) and mailing lists are not integrated in Nextcloud.

@bpcurse

This comment has been minimized.

Copy link

@bpcurse bpcurse commented Jan 30, 2018

I just found the wonderful "default account" feature mail is already supporting. It almost seems to me you are hiding this great feature from the world ;)

@jancborchardt @soudis If the "default account" feature from #28 could be extended to also support a single (or multiple) non-dynamic default account per group and/or per user this would be a really powerful tool.
Don't know if this is what soudis was looking for but for our setup it would be really perfect (maybe with a read only option?).

@soudis

This comment has been minimized.

Copy link
Author

@soudis soudis commented Feb 1, 2018

@bpcurse Thanks for the hint, I was not aware that that's there. It definitely goes into the right direction. However the users would still have to enter the password. The main reason why I want this is, that it's difficult to have the password delivered to 20 people everytime it is changed, which has to be done everytime someone leaves the group.

But I'll look into it, maybe this feature can be easily extended to support my requirements.

Also to prevent misunderstandings: What I proposed was no mailing list, but a shared e-mailaddress per LDAP group. I live in a selforganized house project and we got 1 contact email for outside requests for the whole house which has to be accessed by all tennants from time to time

@bpcurse

This comment has been minimized.

Copy link

@bpcurse bpcurse commented Feb 1, 2018

@soudis I think we have a similar use case. Have a look at my last comment here #745

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.