Admin bulk deactivate/reactivate accepts decimal path segments matching GET /rbac/roles IDs, resolving RoleRecord.name to the platform key. Document 404 when id is unknown. Add Cursor rule: on push, commit dirty tree first without secrets. Co-authored-by: Cursor <cursoragent@cursor.com>
15 lines
617 B
Plaintext
15 lines
617 B
Plaintext
---
|
||
description: Commit before push whenever the tree is dirty
|
||
alwaysApply: true
|
||
---
|
||
|
||
# Git push
|
||
|
||
When the user asks to push (including phrases like “push”, “push to remote”, or “git push”):
|
||
|
||
1. Run `git status` (and if needed `git diff`) to check for unstaged/uncommitted changes.
|
||
2. If there are changes worth shipping, stage and **commit first**—never omit secrets such as `.env`, credentials files, or private keys. Follow the repo’s commit message conventions.
|
||
3. Then run `git push` to the tracked upstream.
|
||
|
||
If nothing is staged and the working tree is clean, pushing without a commit is fine.
|