[PR #1011] [CLOSED] Addition of "True Read Only" Role #1058

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

📋 Pull Request Information

Original PR: https://github.com/healthchecks/healthchecks/pull/1011
Author: @tgrl84
Created: 6/7/2024
Status: Closed

Base: masterHead: true_read_only


📝 Commits (7)

  • 29165f3 Add True Read-Only Role Preventing Project Creation
  • 4db0604 Merge branch 'tgrl84'
  • dd1329f Add True Read-Only Role Preventing Project Creation
  • e73b623 Add True Read-Only Role Preventing Project Creation
  • 8e071b3 Add True Read-Only Role Preventing Project Creation
  • 545cd4e add true read only in login mail
  • 41247a7 Update True Read-Only role description

📊 Changes

11 files changed (+66 additions, -18 deletions)

View changed files

📝 hc/accounts/models.py (+4 -1)
📝 hc/accounts/views.py (+12 -1)
📝 hc/front/views.py (+19 -6)
📝 static/js/projects_menu.js (+1 -0)
📝 templates/accounts/profile.html (+2 -0)
📝 templates/accounts/project.html (+14 -1)
📝 templates/base.html (+0 -6)
📝 templates/emails/login-body-html.html (+1 -1)
📝 templates/emails/login-body-text.html (+1 -1)
📝 templates/front/projects.html (+3 -1)
📝 templates/front/projects_menu.html (+9 -0)

📄 Description

Fixes #1005
We are geco-IT,
This pull request add a role called "True Read Only".
If a user is assigned to this role in a project, they are prevented from creating new projects, even if they have other roles in different projects.
Capture d’écran du 2024-06-07 14-22-36


🔄 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/1011 **Author:** [@tgrl84](https://github.com/tgrl84) **Created:** 6/7/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `true_read_only` --- ### 📝 Commits (7) - [`29165f3`](https://github.com/healthchecks/healthchecks/commit/29165f3b7b66eb40760de491c52e261ee09de5b6) Add True Read-Only Role Preventing Project Creation - [`4db0604`](https://github.com/healthchecks/healthchecks/commit/4db0604b97e0f550ff723224b43a4b24554463e3) Merge branch 'tgrl84' - [`dd1329f`](https://github.com/healthchecks/healthchecks/commit/dd1329f94a3e4bb06bc4732aeb03686649f91ef3) Add True Read-Only Role Preventing Project Creation - [`e73b623`](https://github.com/healthchecks/healthchecks/commit/e73b623f425d1a356dd530365811e812d5ce8373) Add True Read-Only Role Preventing Project Creation - [`8e071b3`](https://github.com/healthchecks/healthchecks/commit/8e071b36a840faa8b6fc70646340c52115649659) Add True Read-Only Role Preventing Project Creation - [`545cd4e`](https://github.com/healthchecks/healthchecks/commit/545cd4e4ca2423324503ed9176e44efaa46cdd46) add true read only in login mail - [`41247a7`](https://github.com/healthchecks/healthchecks/commit/41247a7c481773516d1019a54b7851c67204941d) Update True Read-Only role description ### 📊 Changes **11 files changed** (+66 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `hc/accounts/models.py` (+4 -1) 📝 `hc/accounts/views.py` (+12 -1) 📝 `hc/front/views.py` (+19 -6) 📝 `static/js/projects_menu.js` (+1 -0) 📝 `templates/accounts/profile.html` (+2 -0) 📝 `templates/accounts/project.html` (+14 -1) 📝 `templates/base.html` (+0 -6) 📝 `templates/emails/login-body-html.html` (+1 -1) 📝 `templates/emails/login-body-text.html` (+1 -1) 📝 `templates/front/projects.html` (+3 -1) 📝 `templates/front/projects_menu.html` (+9 -0) </details> ### 📄 Description Fixes #1005 We are geco-IT, This pull request add a role called "True Read Only". If a user is assigned to this role in a project, they are prevented from creating new projects, even if they have other roles in different projects. ![Capture d’écran du 2024-06-07 14-22-36](https://github.com/healthchecks/healthchecks/assets/71886156/5a1aeb12-841f-447d-9f33-218b44822f9c) --- <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:46 +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#1058
No description provided.