mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-04-26 08:25:59 +03:00
[PR #13] [MERGED] Replace jwt_required with RBAC, use socket auth #19
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ServerKit#19
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/jhd3197/ServerKit/pull/13
Author: @jhd3197
Created: 2/9/2026
Status: ✅ Merged
Merged: 2/10/2026
Merged by: @jhd3197
Base:
main← Head:dev📝 Commits (4)
caa799bReplace jwt_required with RBAC, use socket auth79c397fchore: bump version to 1.2.78 [skip ci]d2b9877Revamp README and add translationse1fe2a2chore: bump version to 1.2.79 [skip ci]📊 Changes
15 files changed (+1118 additions, -383 deletions)
View changed files
📝
README.md(+166 -298)📝
VERSION(+1 -1)📝
backend/app/api/cron.py(+8 -8)📝
backend/app/api/firewall.py(+16 -15)📝
backend/app/api/ftp.py(+16 -15)📝
backend/app/api/git.py(+33 -32)📝
backend/app/api/metrics.py(+6 -6)📝
backend/app/api/private_urls.py(+2 -1)📝
backend/app/api/system.py(+4 -2)📝
backend/app/sockets.py(+6 -3)➕
docs/README.es.md(+286 -0)➕
docs/README.pt.md(+286 -0)➕
docs/README.zh-CN.md(+286 -0)📝
frontend/src/pages/WordPressProject.jsx(+1 -1)📝
frontend/src/services/socket.js(+1 -1)📄 Description
Replace generic @jwt_required() usage with role-based decorators and switch Socket.IO token handling to the auth payload.
These changes add finer-grained RBAC control for endpoints and improve socket auth security by removing tokens from URLs/logs.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.