[PR #545] [MERGED] feat: manager role #991

Closed
opened 2026-02-26 00:30:21 +03:00 by kerem · 0 comments
Owner

📋 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: masterHead: feat-manager-permission


📝 Commits (1)

📊 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.rw is migrated to the enum field Member.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.

## 📋 Pull Request Information **Original PR:** https://github.com/healthchecks/healthchecks/pull/545 **Author:** [@swoga](https://github.com/swoga) **Created:** 7/20/2021 **Status:** ✅ Merged **Merged:** 7/26/2021 **Merged by:** [@cuu508](https://github.com/cuu508) **Base:** `master` ← **Head:** `feat-manager-permission` --- ### 📝 Commits (1) - [`efe9f6c`](https://github.com/healthchecks/healthchecks/commit/efe9f6c015ca38be317788d6ef0f8158c69dd1fa) feat: add manager role ### 📊 Changes **7 files changed** (+87 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 Description This PR adds a manager permission as mentioned in the related issue. The boolean field `Member.rw` is migrated to the enum field `Member.permission`. Managers are allowed to invite/remove team members except themselves. Closes #484 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 00:30:21 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/healthchecks#991
No description provided.