Blaze
Blaze
FFilament
Created by Blaze on 5/28/2024 in #❓┊help
Form in resource index page
Okay ill try thx
7 replies
FFilament
Created by Blaze on 5/28/2024 in #❓┊help
Form in resource index page
what i wanna do is that it direcly loads the create or edit page
7 replies
FFilament
Created by Blaze on 5/26/2024 in #❓┊help
Activity logs can be seen by all roles
thanks its working
13 replies
FFilament
Created by Blaze on 5/26/2024 in #❓┊help
Activity logs can be seen by all roles
<?php

namespace App\Providers;

use App\Models\Activity;
use App\Policies\ActivityPolicy;
use Illuminate\Support\Facades\Gate;
use Illuminate\Support\ServiceProvider;

class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register(): void
{
//
}

/**
* Bootstrap any application services.
*/
public function boot(): void
{
Gate::policy(Activity::class, ActivityPolicy::class);
}
}
<?php

namespace App\Providers;

use App\Models\Activity;
use App\Policies\ActivityPolicy;
use Illuminate\Support\Facades\Gate;
use Illuminate\Support\ServiceProvider;

class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register(): void
{
//
}

/**
* Bootstrap any application services.
*/
public function boot(): void
{
Gate::policy(Activity::class, ActivityPolicy::class);
}
}
should i put it like this?
13 replies
FFilament
Created by Blaze on 5/26/2024 in #❓┊help
Activity logs can be seen by all roles
this is my code
13 replies
FFilament
Created by Blaze on 5/26/2024 in #❓┊help
Activity logs can be seen by all roles
i have generated the policy
13 replies
FFilament
Created by Blaze on 5/26/2024 in #❓┊help
Activity logs can be seen by all roles
i tried it but it doesn't work
13 replies
FFilament
Created by Alnuaimi on 11/30/2023 in #❓┊help
The Shiled Roles Not work with Activity Log
do u find the solution to this?
5 replies
FFilament
Created by Blaze on 5/24/2024 in #❓┊help
Add table on create page
thanks
9 replies
FFilament
Created by Blaze on 5/24/2024 in #❓┊help
Add table on create page
Okay, ill try
9 replies
FFilament
Created by Blaze on 5/24/2024 in #❓┊help
Add table on create page
No description
9 replies