anything-llm/server/models
Sean Hatfield fa29003a46
Create manager role and limit default role (#351)
* added manager role to options

* block default role from editing workspace settings on workspace and text input box

* block default user from accessing settings at all

* create manager route

* let pass through if in single user mode

* fix permissions for manager and admin roles in settings

* fix settings button for single user and remove unneeded console.logs

* rename routes and paths for clarity

* admin, manager, default roles complete

* remove unneeded comments

* consistency changes

* manage permissions for mum modes

* update sidebar for single-user mode

* update comment on middleware
Modify permission setting for admins

* update render conditional

* Add role usage hint to each role

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2023-11-13 14:51:16 -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 fix: adjust return type of addDocuments in case of no additions (#353) 2023-11-10 13:27:53 -08:00
invite.js Replace custom sqlite dbms with prisma (#239) 2023-09-28 14:00:03 -07:00
systemSettings.js Using OpenAI API locally (#335) 2023-11-09 12:33:21 -08:00
telemetry.js Posthog telemetry updates (#356) 2023-11-10 16:02:46 -08:00
user.js AnythingLLM UI overhaul (#278) 2023-10-23 13:10:34 -07:00
vectors.js Replace custom sqlite dbms with prisma (#239) 2023-09-28 14:00:03 -07:00
welcomeMessages.js Replace custom sqlite dbms with prisma (#239) 2023-09-28 14:00:03 -07:00
workspace.js Create manager role and limit default role (#351) 2023-11-13 14:51:16 -08:00
workspaceChats.js added JSONL export to workspace chats (#345) 2023-11-08 17:36:54 -08:00
workspaceUsers.js Replace custom sqlite dbms with prisma (#239) 2023-09-28 14:00:03 -07:00