mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 00:46:03 +03:00
[PR #1814] [MERGED] Fix account removal from domain admins #2299
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#2299
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?
📋 Pull Request Information
Original PR: https://github.com/modoboa/modoboa/pull/1814
Author: @jeromelebleu
Created: 1/3/2020
Status: ✅ Merged
Merged: 1/6/2020
Merged by: @tonioo
Base:
master← Head:fix-domain-admins📝 Commits (1)
2b23f5aadmin: fix account removal from domain admins📊 Changes
2 files changed (+34 additions, -4 deletions)
View changed files
📝
modoboa/admin/forms/account.py(+1 -2)📝
modoboa/admin/tests/test_account.py(+33 -2)📄 Description
Current behavior before PR
In the account edition modal for a user with DomainAdmins role, removing a domain from its permissions is not considered when the form is submitted. The user is still an admin for the domain.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.