mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-29 19:35:20 +02:00
Backend already defined automations:create/read/update/delete/execute and seeded them on Owner/Editor/Viewer roles, but the Settings → Roles UI was missing the metadata to render them properly. - backend: add PERMISSION_DESCRIPTIONS entries for the 5 automations perms so the role editor stops falling back to "Permission for automations:create". - frontend: add automations to CATEGORY_CONFIG (Workflow icon, slotted between podcasts and connectors) so the role editor groups them as a real section. - frontend: extend the three ROLE_PRESETS — Editor and Contributor get create/read/update/execute (mirroring backend Editor); Viewer gets read. Prep work for the automations frontend; canPerform/usePermissionGate already handle the runtime gating, so no new hook is needed. |
||
|---|---|---|
| .. | ||
| agent-model-manager.tsx | ||
| buy-pages-content.tsx | ||
| buy-tokens-content.tsx | ||
| general-settings-manager.tsx | ||
| image-model-manager.tsx | ||
| llm-role-manager.tsx | ||
| more-pages-content.tsx | ||
| prompt-config-manager.tsx | ||
| roles-manager.tsx | ||
| vision-model-manager.tsx | ||