/** * @return mixed */ public function getUngroupedPermissions() { return Permission::whereNull('group_id')->orderBy('display_name', 'asc')->get(); }