chg: surface auth/permission hints on 401 and 403 #9
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
nagonag
nagonag/ignore
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
heiko/fj!9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "x"
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?
API errors at 401 and 403 now append a short hint: 401 points to
git config fj.token/ the credential helper; 403 points to thetoken's scope settings in Forgejo. Forgejo has no token-introspection
endpoint, so a pre-flight scope check isn't possible — surfacing a
clearer message after the API call is the next-best thing for users
hitting "create PR/issue" with a token missing write:repository,
write:issue, etc.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
ius:ai:claude-opus-4-7