Add guest policy settings
This commit is contained in:
@@ -183,6 +183,42 @@ return [
|
||||
'deleted' => 'Gelöscht',
|
||||
],
|
||||
],
|
||||
'guest_policy' => [
|
||||
'navigation' => [
|
||||
'label' => 'Gast-Richtlinien',
|
||||
],
|
||||
'sections' => [
|
||||
'toggles' => 'Gast-Funktionen',
|
||||
'rate_limits' => 'Rate-Limits',
|
||||
'retention' => 'Retention-Defaults',
|
||||
],
|
||||
'fields' => [
|
||||
'guest_downloads_enabled' => 'Gast-Downloads erlauben',
|
||||
'guest_sharing_enabled' => 'Gast-Sharing erlauben',
|
||||
'guest_upload_visibility' => 'Gast-Upload-Sichtbarkeit',
|
||||
'upload_visibility_review' => 'Freigabe erforderlich',
|
||||
'upload_visibility_immediate' => 'Sofort veröffentlichen',
|
||||
'per_device_upload_limit' => 'Uploads pro Gerät (pro Event)',
|
||||
'join_token_failure_limit' => 'Join-Token Fehlerlimit',
|
||||
'join_token_failure_decay_minutes' => 'Join-Token Fehler-Decay (Minuten)',
|
||||
'join_token_access_limit' => 'Join-Token Zugriffslimit',
|
||||
'join_token_access_decay_minutes' => 'Join-Token Zugriff-Decay (Minuten)',
|
||||
'join_token_download_limit' => 'Join-Token Downloadlimit',
|
||||
'join_token_download_decay_minutes' => 'Join-Token Download-Decay (Minuten)',
|
||||
'share_link_ttl_hours' => 'Share-Link TTL (Stunden)',
|
||||
'guest_notification_ttl_hours' => 'Gast-Notification TTL (Stunden)',
|
||||
],
|
||||
'help' => [
|
||||
'zero_disables' => '0 deaktiviert das Throttling.',
|
||||
'notification_ttl' => 'Leer lassen, um Benachrichtigungen ohne Ablauf zu speichern.',
|
||||
],
|
||||
'actions' => [
|
||||
'save' => 'Änderungen speichern',
|
||||
],
|
||||
'notifications' => [
|
||||
'saved' => 'Gast-Richtlinien aktualisiert.',
|
||||
],
|
||||
],
|
||||
|
||||
'events' => [
|
||||
'fields' => [
|
||||
|
||||
@@ -183,6 +183,42 @@ return [
|
||||
'deleted' => 'Deleted',
|
||||
],
|
||||
],
|
||||
'guest_policy' => [
|
||||
'navigation' => [
|
||||
'label' => 'Guest policy',
|
||||
],
|
||||
'sections' => [
|
||||
'toggles' => 'Guest toggles',
|
||||
'rate_limits' => 'Rate limits',
|
||||
'retention' => 'Retention defaults',
|
||||
],
|
||||
'fields' => [
|
||||
'guest_downloads_enabled' => 'Allow guest downloads',
|
||||
'guest_sharing_enabled' => 'Allow guest sharing',
|
||||
'guest_upload_visibility' => 'Guest upload visibility',
|
||||
'upload_visibility_review' => 'Review required',
|
||||
'upload_visibility_immediate' => 'Immediate publish',
|
||||
'per_device_upload_limit' => 'Uploads per device (per event)',
|
||||
'join_token_failure_limit' => 'Join token failure limit',
|
||||
'join_token_failure_decay_minutes' => 'Join token failure decay (minutes)',
|
||||
'join_token_access_limit' => 'Join token access limit',
|
||||
'join_token_access_decay_minutes' => 'Join token access decay (minutes)',
|
||||
'join_token_download_limit' => 'Join token download limit',
|
||||
'join_token_download_decay_minutes' => 'Join token download decay (minutes)',
|
||||
'share_link_ttl_hours' => 'Share link TTL (hours)',
|
||||
'guest_notification_ttl_hours' => 'Guest notification default TTL (hours)',
|
||||
],
|
||||
'help' => [
|
||||
'zero_disables' => '0 disables throttling.',
|
||||
'notification_ttl' => 'Leave empty to keep notifications until explicitly expired.',
|
||||
],
|
||||
'actions' => [
|
||||
'save' => 'Save changes',
|
||||
],
|
||||
'notifications' => [
|
||||
'saved' => 'Guest policy updated.',
|
||||
],
|
||||
],
|
||||
|
||||
'events' => [
|
||||
'fields' => [
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
<x-filament-panels::page>
|
||||
<div class="space-y-6">
|
||||
<div class="rounded-xl bg-white p-6 shadow-sm">
|
||||
{{ $this->form }}
|
||||
<div class="mt-4 flex justify-end">
|
||||
<x-filament::button wire:click="save" color="primary">
|
||||
{{ __('admin.guest_policy.actions.save') }}
|
||||
</x-filament::button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</x-filament-panels::page>
|
||||
Reference in New Issue
Block a user