-
Task Breakup:
- Backend DTO + entity update to allow credential update
~45 minutes
• Add fields to ProjectUpdateDto (gitUsername, gitToken)
• Update service layer to persist changes
• Ensure token is encrypted/handled consistently
- Controller wiring + validation ~30–45 minutes • Allow optional update (don’t overwrite if null) • Add clear error message propagation
- UI change (Project Edit screen) ~45–60 minutes
• Add masked PAT field • UX note: “Leave blank to keep existing token” • Ensure it doesn’t echo token back 4. Error handling improvement on push failure ~30 minutes • Detect auth-related push errors • Map to meaningful message (“Authentication failed or token expired”) 5. Regression test (manual + curl) ~30–45 minutes
Total: ~3 hours focused work.
- Backend DTO + entity update to allow credential update
~45 minutes
• Add fields to ProjectUpdateDto (gitUsername, gitToken)
• Update service layer to persist changes
• Ensure token is encrypted/handled consistently
| Type |
Bug
|
| Priority |
Normal
|
| Assignee | |
| Version |
1.9.2
|
| Sprints |
n/a
|
| Customer |
n/a
|
Issue Votes (0)
Summary
If the Personal Access Token (PAT) used for an external Git repository (e.g., GitHub) expires, merge operations in Sztab fail during the push step.
There is currently no way to update the stored PAT via the Project Edit UI. The only workaround is to either:
This is a functional gap and creates operational risk.
Environment
Version: 1.9.2
Component: Sztab + Sztabina
External Git: GitHub (PAT-based authentication)
Steps to Reproduce
Actual Behavior
Expected Behavior
Impact
Current Workaround
Suggested Fix
Severity
Medium–High
Blocks merge workflow once token expires.