mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-26 01:16:01 +03:00
[GH-ISSUE #715] Internal error when I click on domain with domain admin user account #660
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#660
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @harobed on GitHub (Apr 27, 2015).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/715
Hi,
I've this bug :
To fix it :
Next after this fix, I've "Update" button in modal window in below screenshot. If I click on update, I've this error :
What is the good behaviour ? I should see the same dialog box that super admin ? like in screenshot below ?
@harobed commented on GitHub (Apr 28, 2015):
The problem is that my domain admin user (not super admin) haven't "admin.change_domain" permission.
It's here : https://github.com/tonioo/modoboa/blob/1.2.x/modoboa/extensions/admin/forms/domain.py#L274
I think that domain admin user must have "admin.change_domain" permission on its domain, isn't it ?
@tonioo commented on GitHub (Apr 28, 2015):
Hi,
a domain administrator is not supposed to change the properties of the domain he manages unless the amavis extension is enabled. Are you using it ? If you don't, you should not see the "Domains" menu entry at all.
Otherwise, it looks like you find an issue when a domain adminstrator tries to save a domain. I'm looking into it.
@tonioo commented on GitHub (Apr 28, 2015):
Sorry, my previous post was wrong about visibility. A domain administrator IS supposed to list and see the domain(s) he manages.
@tonioo commented on GitHub (Apr 28, 2015):
Here is a quick fix. Could you please test it ?
@harobed commented on GitHub (Apr 29, 2015):
Fixed, thanks
@w4ugit commented on GitHub (Apr 12, 2021):
I have the same problem. how can i solve it?