@extends('mainlayout.layout') @section('content')
Access control

Staff Assignments

Limit Customer Support visibility to the owners and projects they are responsible for.

@if(session('message'))
{{ session('message') }}
@endif

Add assignment

@csrf
@error('user_id')
{{ $message }}
@enderror
@error('property_owner_id')
{{ $message }}
@enderror
or assign one project
@error('property_id')
{{ $message }}
@enderror

Portfolio access

@forelse($assignments as $assignment) @empty @endforelse
Support userAccessScopeStatusAction
{{ trim(($assignment->user?->first_name ?? '') . ' ' . ($assignment->user?->last_name ?? '')) }}
{{ $assignment->user?->email }}
{{ $assignment->property?->name ?? $assignment->owner?->name ?? 'Unavailable portfolio' }}
{{ $assignment->property ? 'Project only' : 'All owner projects' }}
{{ ucfirst($assignment->scope) }} {{ $assignment->is_active ? 'Active' : 'Inactive' }} @if($assignment->is_active)
@csrf @method('PATCH')
@else — @endif
No assignments match these filters.
{{ $assignments->links() }}
@endsection