updates for active directory now with docs

This commit is contained in:
Mark Gregory
2026-11-12 08:01:31 +00:00
parent c0d6b821cb
commit 7166dd33f9
21 changed files with 252 additions and 246 deletions
-4
View File
@@ -2,11 +2,9 @@
namespace App\Providers;
use App\Models\User;
use Carbon\CarbonImmutable;
use Illuminate\Support\Facades\Date;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Gate;
use Illuminate\Support\ServiceProvider;
use Illuminate\Validation\Rules\Password;
@@ -27,8 +25,6 @@ class AppServiceProvider extends ServiceProvider
{
$this->configureDefaults();
Gate::define('manage-directory-sync', fn (User $user): bool => $user->ad_guid === null
&& $user->id === config('ad-sync.admin-id'));
}
/**