Skip to content
Kodeine edited this page Feb 23, 2015 · 3 revisions

Get Role Permissions

Get permissions assigned to a role.

$roleAdmin = Role::first();
$roleAdmin->getPermissions();

Get User Permissions

Get permissions assigned to a user.

$user = User::first();
$user->getPermissions();