cinema-studio-pro/frontend
Vadym Samoilenko 22a5ce83af feat: admin users can rotate Kling credentials in real-time via UI
- Add runtime_config.php: credential store backed by runtime_config.json
  (gitignored). Falls back to .env values so existing envs need no migration.
- Add admin_api.php: status / test_kling / update_kling endpoints gated
  behind ADMIN_EMAILS allowlist. Accepts Bearer idToken when SSO enabled;
  uses mock dev@localhost when SSO disabled.
- config.php: replace KLING_ACCESS_KEY/SECRET_KEY defines with ADMIN_EMAILS
- kling_api.php: read credentials via getKlingCredentials() on every request
  so rotations take effect immediately without a server restart
- All .env templates: add ADMIN_EMAILS= (dev@localhost populated in .env.local)
- AdminSettings.jsx: modal with masked status, Test Connection, Save Credentials
- AppContent.jsx: admin status check on mount; Settings gear shown to admins
- Fix production URL in .env.production/.env.example (optical-prod.oliver.solutions)
- .gitignore: exclude backend/runtime_config.json

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-29 16:45:27 +01:00
..
public inter-project-deployment-updates 2026-02-27 20:33:26 +05:30
src feat: admin users can rotate Kling credentials in real-time via UI 2026-04-29 16:45:27 +01:00
.env.example config: update Azure AD Client ID and add optical-dev deployment 2026-04-24 16:06:24 +01:00
.env.optical config: update Azure AD Client ID and add optical-dev deployment 2026-04-24 16:06:24 +01:00
.env.production config: update Azure AD Client ID and add optical-dev deployment 2026-04-24 16:06:24 +01:00
.gitignore Restructuring of files and Local Tested 2026-01-13 14:52:37 +05:30
.htaccess Local and Server Deployment 2026-01-19 11:53:17 +05:30
eslint.config.js Restructuring of files and Local Tested 2026-01-13 14:52:37 +05:30
index.html style: try IBM Plex Sans + IBM Plex Mono as unified family 2026-03-09 23:37:43 -04:00
package-lock.json inter-project-deployment-updates 2026-02-27 20:33:26 +05:30
package.json Restructuring of files and Local Tested 2026-01-13 14:52:37 +05:30
postcss.config.js Restructuring of files and Local Tested 2026-01-13 14:52:37 +05:30
tailwind.config.js style: try IBM Plex Sans + IBM Plex Mono as unified family 2026-03-09 23:37:43 -04:00
vite.config.js update 2026-01-20 16:33:00 +05:30