Beta version

This commit is too large to list all changes.
This commit is contained in:
2020-06-27 00:32:33 +01:00
parent d15c0cb12f
commit 5a8c080a31
135 changed files with 8534 additions and 12774 deletions

View File

@@ -2,6 +2,7 @@
namespace App\Policies;
use App\Profile;
use App\User;
use Illuminate\Auth\Access\HandlesAuthorization;
@@ -16,6 +17,11 @@ class ProfilePolicy
*/
public function __construct()
{
//
}
public function edit(User $user, Profile $profile)
{
return $user->is($profile->user);
}
}