src/Http/Controllers/Api/PermissionsController.php
public function used()
    {
        return $this->core->api()->response(
            $this->makeContainer(
                $this->core->auth()->getAllPermissions()
            )
        );
    }
public function used()
    {
        return $this->core->api()->response(
            $this->makeContainer(
                $this->core->auth()->getAllPermissions()
            )
        );
    }
Returns the permissions actually in use by users and roles.

@return mixed