mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 06:55:53 +03:00
[PR #1011] [CLOSED] Addition of "True Read Only" Role #1058
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#1058
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/1011
Author: @tgrl84
Created: 6/7/2024
Status: ❌ Closed
Base:
master← Head:true_read_only📝 Commits (7)
29165f3Add True Read-Only Role Preventing Project Creation4db0604Merge branch 'tgrl84'dd1329fAdd True Read-Only Role Preventing Project Creatione73b623Add True Read-Only Role Preventing Project Creation8e071b3Add True Read-Only Role Preventing Project Creation545cd4eadd true read only in login mail41247a7Update 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.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.