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

Can we have an admin per domain ? #31

Open
jrd opened this issue Mar 5, 2021 · 3 comments
Open

Can we have an admin per domain ? #31

jrd opened this issue Mar 5, 2021 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@jrd
Copy link

jrd commented Mar 5, 2021

I manage multiple domains on one server and I would like that each person responsible for each own domain can administer only data related to that domain.

Solution proposed:

  • Instead of "admin" boolean, having a "superadmin" boolean that acts the same as now
  • Have an "admin" list, which list the domains you owns. The "superadmin" could also be skip and use a full list but I think it will create more work on dev side (maintains the list will be harder).
  • Each section (domain, users, aliases, dkim) will either:
    • display everything if user is a superadmin
    • filter only domain-specific data for domains listed in "admin" list

I cannot propose a patch because even if I’m familiar with php, I do not know anything about the framework used here…

If you have another proposition to achieve the same goal, I’m listening ;-)

P.S. This admin UI is really great, thanks !

@jeboehm jeboehm added enhancement New feature or request help wanted Extra attention is needed labels Mar 10, 2021
@jeboehm
Copy link
Owner

jeboehm commented Apr 1, 2021

Hey @jrd,
I really like that idea. Unfortunately I have not enough spare time available to implement this currently.
If you want to implement it on your own, I'ld be available for help.

@jrd
Copy link
Author

jrd commented Apr 11, 2021

I didn’t managed/wanted to learn the php framework used here. I also prefer to have an independent docker admin interface than everything in the Roundcube webmail, so I re-implemented all of it in Python/Django here. I know it would have been better to have only one project but I wrote it in about a week on free time, so it was a much quicker solution for me.
I tried to incorporate the DKIM creation/validation/config that you put in this repository as it seems to be a great idea.

@jeboehm
Copy link
Owner

jeboehm commented Apr 20, 2021

Hi @jrd,
cool, thank you for your work! I can't wait to take a look on it! 🥇 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants