mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 06:55:53 +03:00
[PR #545] [MERGED] feat: manager role #991
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#991
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/healthchecks/healthchecks/pull/545
Author: @swoga
Created: 7/20/2021
Status: ✅ Merged
Merged: 7/26/2021
Merged by: @cuu508
Base:
master← Head:feat-manager-permission📝 Commits (1)
efe9f6cfeat: add manager role📊 Changes
7 files changed (+87 additions, -25 deletions)
View changed files
📝
hc/accounts/forms.py(+2 -2)➕
hc/accounts/migrations/0043_add_role_manager.py(+17 -0)📝
hc/accounts/models.py(+3 -3)📝
hc/accounts/tests/test_project.py(+36 -9)📝
hc/accounts/views.py(+10 -3)📝
hc/test.py(+1 -1)📝
templates/accounts/project.html(+18 -7)📄 Description
This PR adds a manager permission as mentioned in the related issue.
The boolean field
Member.rwis migrated to the enum fieldMember.permission.Managers are allowed to invite/remove team members except themselves.
Closes #484
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.