[PR #455] [MERGED] chore: restrict user from updating admin role #477

Closed
opened 2026-03-03 11:30:10 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dflow-sh/dflow/pull/455
Author: @jagadeesh507
Created: 9/29/2025
Status: Merged
Merged: 9/29/2025
Merged by: @jagadeesh507

Base: mainHead: restrict-role-updation


📝 Commits (1)

  • d4ae62d chore: restrict user from updating admin role

📊 Changes

9 files changed (+50 additions, -6 deletions)

View changed files

📝 src/actions/auth/index.ts (+1 -0)
📝 src/actions/roles/index.ts (+10 -1)
📝 src/actions/roles/validator.ts (+2 -0)
📝 src/components/Team/Roles/PermissionsTable.tsx (+12 -1)
📝 src/components/Team/Roles/RolePermissions.tsx (+6 -2)
📝 src/components/Team/Roles/RolesList.tsx (+7 -1)
📝 src/components/Team/Roles/UpdateRoleDetails.tsx (+1 -1)
📝 src/payload-types.ts (+2 -0)
📝 src/payload/collections/Roles/index.ts (+9 -0)

📄 Description

No description provided


🔄 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/dflow-sh/dflow/pull/455 **Author:** [@jagadeesh507](https://github.com/jagadeesh507) **Created:** 9/29/2025 **Status:** ✅ Merged **Merged:** 9/29/2025 **Merged by:** [@jagadeesh507](https://github.com/jagadeesh507) **Base:** `main` ← **Head:** `restrict-role-updation` --- ### 📝 Commits (1) - [`d4ae62d`](https://github.com/dflow-sh/dflow/commit/d4ae62dc6d096e336bc3b05b1149506cdb6b68f5) chore: restrict user from updating admin role ### 📊 Changes **9 files changed** (+50 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `src/actions/auth/index.ts` (+1 -0) 📝 `src/actions/roles/index.ts` (+10 -1) 📝 `src/actions/roles/validator.ts` (+2 -0) 📝 `src/components/Team/Roles/PermissionsTable.tsx` (+12 -1) 📝 `src/components/Team/Roles/RolePermissions.tsx` (+6 -2) 📝 `src/components/Team/Roles/RolesList.tsx` (+7 -1) 📝 `src/components/Team/Roles/UpdateRoleDetails.tsx` (+1 -1) 📝 `src/payload-types.ts` (+2 -0) 📝 `src/payload/collections/Roles/index.ts` (+9 -0) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 11:30:10 +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/dflow#477
No description provided.