mziech / nextcloud-majordomo

Nextcloud app to sync Majordomo mailing list members with Nextcloud users and groups
GNU Affero General Public License v3.0
3 stars 1 forks source link

The app could only be used by admins #25

Open kolewu opened 2 years ago

kolewu commented 2 years ago

I normally don't use my cloud accounts as admin, so to use this app I have to switch the user. This also means, that I can't give other users the right, to operate on their mailinglist.

Is there anything dangerous about the background jobs accessing the IMAP-account? If not, I would like to have the option to make the mailinglist configuration available to some users or a group of users.

It's in the current configuration with a single IMAP-account for the whole instance only reasonable for private use, but that's exactly my usecase: Give some family-members the opportunity to control the subscription lists of their own mailinglists without having to learn how to do this by sending emails to majordomo -- and without bothering me 😉

mziech commented 2 years ago

Hmm, I guess that will require

Not impossible but also not a straight forward change to do ...

mziech commented 1 year ago

Looks like Nextcloud 23 introduced admin-rights delegation. The implementation looks rather straight forward, e.g. in logreader: https://github.com/nextcloud/logreader/commit/c875e6ccb065e131621dae0122e1cbbded30c106

Maybe this is a good intermediate solution.

kolewu commented 1 year ago

Yes, this looks very promising. But if I understand it, it's only working for "real" settings pages, that appear under "Adminstration" in the Settings where normal users only have "Personal". See Admin right privilege

mziech commented 1 year ago

Yes, I tinkered a bit with the API and I got the app registered even without a settings page. The problem then is the missing menu button. Converting the UI to a settings-page may be difficult since the navigation bar is already used otherwise. So, I'm now looking into implementing the promised ACL concept after all ...