@extends('admin.layouts.master') @section('content')
التحكم في الأزرار حسب صلاحية المستخدم

يتم إظهار كل زر فقط إذا كان المستخدم يملك الصلاحية المناسبة.

@can('products.create') @endcan @can('products.update') @endcan @can('products.delete') @endcan @cannot('products.create')
ليس لديك صلاحية إضافة منتج.
@endcannot
@endsection