mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-11-27 12:11:10 +00:00
feat: rate limit auth endpoints and scope user proxy host permissions
- Add in-memory sliding window rate limiter for auth token endpoints with CI/test bypass and successful request exclusion - Add user_permission meta column migration and Objection model configuration - Support scoping allowed proxy hosts per user when in 'Created Items Only' visibility mode - Restrict advanced nginx configuration editing on hosts to admin users only - Fix user permissions route ID parsing and omit id from permission update payloads - Add allowed proxy hosts selector in permissions modal and display permissions summary badges in users table
This commit is contained in:
1 parent
cc46ce5ab6
commit
bc8bbf3562
23 files changed
+571
-104
No files matched your search
@@ -44,6 +44,25 @@
|
||||
"description": "Certificates Permissions",
|
||||
"enum": ["hidden", "view", "manage"],
|
||||
"example": "hidden"
|
||||
},
|
||||
"meta": {
|
||||
"type": "object",
|
||||
"description": "Permission metadata",
|
||||
"example": {
|
||||
"proxy_host_ids": [1]
|
||||
},
|
||||
"properties": {
|
||||
"proxy_host_ids": {
|
||||
"type": "array",
|
||||
"description": "Allowed Proxy Host IDs",
|
||||
"example": [1],
|
||||
"items": {
|
||||
"type": "integer",
|
||||
"description": "Proxy Host ID",
|
||||
"example": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user