HarperFast / HarperFast/harper

Prevent users from removing their own role

Open
#699 0 comments 0 reactions 1 assignee Claimed by @DavidCockerill View on GitHub
area:auth enhancement from-jira
Dominant language
JavaScript
Stars
89
Forks
10
Avg merge
2d 6h
Merged PRs (30d)
200

Description

## Request

Add validation to prevent a user from removing or downgrading their own role. A super_user revoking their own super_user status can leave a system without any admins.

🤖 Filed by Claude on behalf of Kris.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.