private function getActions(Component $component) {
        $defaultActions = (array) config('antares/installer::permissions.components.' . $component->name, []);

        return Action::where('component_id', $component->id)->whereIn('name', $defaultActions)->get();
    }