boyardnicolas

Results 2 comments of boyardnicolas

@ldiebold No, I just kept my relationship table and have some duplicated logic, such as: $role = Role::where('name', 'manager')->first(); $request->user()->accounts()->attach($account->id, ['role_id' => $role->id]); Bouncer::allow($request->user())->toManage($account); In my create method of Account...

Hello, thanks for the heads-up, I've already tried this (i.e FileHelper::isLocalPath($this->path, false)) but it doesn't work in my case, the pictures are generated but incorrectly linked ( https://domain.com/mnt/storage/staging/website/shared/storage/temp/public/164/cbf/0468__1920.jpeg instead of...