Allgemeinen KI Chat erstaml deaktiviert
This commit is contained in:
@@ -777,7 +777,7 @@ namespace BS.Shared.Core
|
||||
|
||||
dict.Add(UserRightType.AiVoiceView, Translator.Translate($"KI-Spracheingabe & Transkription verwenden"));
|
||||
|
||||
dict.Add(UserRightType.AiModuleChatView, Translator.Translate($"KI-Chat (Allgemein) {action_keywords[0]}"));
|
||||
//dict.Add(UserRightType.AiModuleChatView, Translator.Translate($"KI-Chat (Allgemein) {action_keywords[0]}"));
|
||||
//dict.Add(UserRightType.AiModuleChatAdd, Translator.Translate($"KI-Konversationen/Nachrichten {action_keywords[2]}"));
|
||||
//dict.Add(UserRightType.AiModuleChatClone, Translator.Translate($"KI-Konversationen/Nachrichten {action_keywords[6]}"));
|
||||
//dict.Add(UserRightType.AiModuleChatEdit, Translator.Translate($"KI-Konversationen/Nachrichten {action_keywords[3]}"));
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace BS.Shared.Core
|
||||
public static bool IsAiModuleRight(UserRightType rightType)
|
||||
{
|
||||
var l = new List<UserRightType>() {
|
||||
UserRightType.AiModuleChatView, UserRightType.AiModulePromptbausteineView,
|
||||
UserRightType.AiModulePromptbausteineView,
|
||||
UserRightType.AiModulePromptbausteineEdit, UserRightType.AiModulePromptbausteinShare, UserRightType.AiModuleServiceRecordChat,
|
||||
UserRightType.AiModuleServiceRecordDocu, UserRightType.AiVoiceView};
|
||||
return l.Contains(rightType);
|
||||
|
||||
Reference in New Issue
Block a user