Skip to content

Commit

Permalink
remove roles_via from auth debugging for now
Browse files Browse the repository at this point in the history
  • Loading branch information
alexweissman committed Jul 26, 2017
1 parent 2f2f10a commit 9371934
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/sprinkles/account/src/Authorize/AuthorizationManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ protected function getPermissionsArrayDebugInfo($permissions)
$permissionsInfo = [];
foreach ($permissions as $permission) {
$permissionData = array_only($permission->toArray(), ['id', 'slug', 'name', 'conditions', 'description']);
$permissionData['roles_via'] = $permission->roles_via->pluck('id')->all();
// Remove this until we can find an efficient way to only load these once during debugging
//$permissionData['roles_via'] = $permission->roles_via->pluck('id')->all();
$permissionsInfo[] = $permissionData;
}

Expand Down

0 comments on commit 9371934

Please sign in to comment.