mirror of
https://github.com/dflow-sh/dflow.git
synced 2026-04-26 05:45:51 +03:00
[PR #455] [MERGED] chore: restrict user from updating admin role #477
Labels
No labels
backend
bug
developer
documentation
enhancement
enhancement
enhancement
feature
feature
fix
frontend
frontend
good first issue
help wanted
pull-request
safety-check
security
styles
styles
templates
templates
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dflow#477
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/dflow-sh/dflow/pull/455
Author: @jagadeesh507
Created: 9/29/2025
Status: ✅ Merged
Merged: 9/29/2025
Merged by: @jagadeesh507
Base:
main← Head:restrict-role-updation📝 Commits (1)
d4ae62dchore: 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.