@php($routeStore = route('configuration.chat.store-permission'))

The default chat settings are based on user type:

  • Administrator users can chat with everyone
  • Advanced users can chat with all users from the same group
  • Basic users can only chat with associated users (subordinates and managers)

You can override defaults by creating specific permissions for users, roles, or groups below. There is no limit to the number of rules.

Create A New Chat Permission

@csrf
From To
Scope Selection Scope Selection Access

Chat Permissions

@forelse($permissions as $perm) @empty @endforelse
From Scope From Selection To Scope To Selection Access Actions
{{ $scopeTypes[$perm->from_scope_type] ?? $perm->from_scope_type }} {{ $perm->fromSelectionLabel() }} {{ $scopeTypes[$perm->to_scope_type] ?? $perm->to_scope_type }} {{ $perm->toSelectionLabel() }} {!! html()->form('POST', route('configuration.chat.toggle-permission-status',$perm->id))->attributes(['style'=>'display:inline'])->open() !!} @csrf
status ? 'checked' : '' }} onchange="this.form.submit()">
{!! html()->form()->close() !!}
{!! html()->form('DELETE', route('configuration.chat.destroy-permission',$perm->id))->attributes(['style'=>'display:inline','id'=>'delete-chat-permission-form-'.$perm->id])->open() !!} {!! html()->form()->close() !!}
No Chat Permissions Found
@push('page_script') @endpush