anything-llm/server/models
Timothy Carambat 9a237db3d1
Implement total permission overhaul (#629)
* Implement total permission overhaul
Add explicit permissions on each flex and strict route
Patch issues with role escalation and CRUD of users
Patch permissions on all routes for coverage
Improve middleware to accept role array for clarity

* update comments

* remove permissions to API-keys for manager. Manager could generate API-key and using high-privelege api-key give themselves admin

* update sidebar permissions for multi-user and single user

* update options for mobile sidebar
2024-01-22 14:14:01 -08:00
..
apiKeys.js Replace custom sqlite dbms with prisma (#239) 2023-09-28 14:00:03 -07:00
cacheData.js Infinite prompt input and compression implementation (#332) 2023-11-06 13:13:53 -08:00
documents.js chore: Better VectorDb and Embedder error messages (#620) 2024-01-18 11:40:48 -08:00
invite.js Replace custom sqlite dbms with prisma (#239) 2023-09-28 14:00:03 -07:00
systemSettings.js feat: Add support for Zilliz Cloud by Milvus (#615) 2024-01-17 18:00:54 -08:00
telemetry.js Posthog telemetry updates (#356) 2023-11-10 16:02:46 -08:00
user.js 401-Password Complexity Check Capability (#402) 2023-12-05 09:13:06 -08:00
vectors.js Replace custom sqlite dbms with prisma (#239) 2023-09-28 14:00:03 -07:00
welcomeMessages.js add check to skip empty messages (#602) 2024-01-16 18:23:51 -08:00
workspace.js Implement total permission overhaul (#629) 2024-01-22 14:14:01 -08:00
workspaceChats.js patch workspace-chats API endpoint to be generally available instead of forced multi-user 2024-01-02 12:44:17 -08:00
workspaceUsers.js Replace custom sqlite dbms with prisma (#239) 2023-09-28 14:00:03 -07:00