From 41638126066620efc22db2b80c750f5d0b04019c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Thu, 1 Oct 2026 13:23:40 +0200 Subject: [PATCH] Fixed build --- .github/workflows/code_samples.yaml | 25 ++++++------------------ docs/permissions/limitation_reference.md | 2 ++ tests/yaml-validation-baseline.yaml | 7 +------ 3 files changed, 9 insertions(+), 25 deletions(-) diff --git a/.github/workflows/code_samples.yaml b/.github/workflows/code_samples.yaml index 8dd6e35695..e4a89fccce 100644 --- a/.github/workflows/code_samples.yaml +++ b/.github/workflows/code_samples.yaml @@ -24,26 +24,13 @@ jobs: extensions: "pdo_sqlite, gd" tools: cs2pr - - name: Generate token - id: generate_token - uses: actions/create-github-app-token@v3 + - uses: ibexa/gh-workflows/actions/composer-install@main with: - app-id: ${{ secrets.AUTOMATION_CLIENT_ID }} - private-key: ${{ secrets.AUTOMATION_CLIENT_SECRET }} - owner: ${{ github.repository_owner }} - - - name: Add composer keys for private packagist - run: | - composer config --global http-basic.updates.ibexa.co $SATIS_NETWORK_KEY $SATIS_NETWORK_TOKEN - composer config --global github-oauth.github.com $GITHUB_TOKEN - env: - SATIS_NETWORK_KEY: ${{ secrets.SATIS_NETWORK_KEY }} - SATIS_NETWORK_TOKEN: ${{ secrets.SATIS_NETWORK_TOKEN }} - GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} - - - uses: ramsey/composer-install@v4 - with: - dependency-versions: highest + php-version: ${{ matrix.php }} + gh-client-id: ${{ secrets.AUTOMATION_CLIENT_ID }} + gh-client-secret: ${{ secrets.AUTOMATION_CLIENT_SECRET }} + satis-network-key: ${{ secrets.SATIS_NETWORK_KEY }} + satis-network-token: ${{ secrets.SATIS_NETWORK_TOKEN }} - name: Run code sample quality tests id: phpstan diff --git a/docs/permissions/limitation_reference.md b/docs/permissions/limitation_reference.md index b8582b9956..7085c51fc2 100644 --- a/docs/permissions/limitation_reference.md +++ b/docs/permissions/limitation_reference.md @@ -25,6 +25,8 @@ As this is a generic limitation, you can configure your custom limitations to us Out of the box FunctionList uses it in the following way: ``` yaml +services: + # FunctionList is an ezjscore limitation, it only applies to ezjscore policies not used by # API/platform stack, so configure to use Blocking limitation to avoid LimitationNotFoundException ibexa.api.role.limitation_type.function_list: diff --git a/tests/yaml-validation-baseline.yaml b/tests/yaml-validation-baseline.yaml index a10ad5c032..24d177bffa 100644 --- a/tests/yaml-validation-baseline.yaml +++ b/tests/yaml-validation-baseline.yaml @@ -322,11 +322,6 @@ ignoreErrors: line: 237 hash: e6259973305f42d67138e6b99f919b28b817968c03743bc8533540a5d3453d12 message: '~The child config "list" under "ibexa\.siteaccess" must be configured\: Available SiteAccess list~' - - - path: docs/permissions/limitation_reference.md - line: 28 - hash: c989b346cda18ba902f44d6dfb2aa9129a1da96c87fcd7be9df0f84710155ebc - message: '~Unable to parse at line 3 \(near " ibexa\.api\.role\.limitation_type\.function_list\:"\)\.~' - path: docs/product_catalog/enable_purchasing_products.md line: 106 @@ -349,7 +344,7 @@ ignoreErrors: message: '~Unrecognized option "require_previous_session" under "security\.firewalls\.ezpublish_front\.form_login"\. Available options are "always_use_default_target_path", "check_path", "csrf_parameter", "csrf_token_id", "default_target_path", "enable_csrf", "failure_forward", "failure_handler", "failure_path", "failure_path_parameter", "form_only", "login_path", "password_parameter", "post_only", "provider", "remember_me", "success_handler", "target_path_parameter", "use_forward", "use_referer", "username_parameter"\.~' - path: docs/release_notes/ibexa_dxp_v5.0.md - line: 85 + line: 84 hash: 7d4a5637a3e036ebcdc5a4be8282aebe2bfcbaee3222981b81f739ae773111d0 message: '~The child config "path" under "ibexa\.repositories\.\\.mcp\.\" must be configured\: MCP server path~' -