ai system improvements

This commit is contained in:
vabene1111
2025-09-09 16:30:54 +02:00
parent 397912e87f
commit 4636ac28f9
8 changed files with 188 additions and 16 deletions

View File

@@ -333,6 +333,9 @@ class CustomRecipePermission(permissions.BasePermission):
class CustomAiProviderPermission(permissions.BasePermission):
"""
Custom permission class for the AiProvider api endpoint
users: can read all
admins: can read and write
superusers: can read and write + write providers without a space
"""
message = _('You do not have the required permissions to view this page!')