Skip to content

Fix statement.IsAllowed when bucket disallowed #343

Fix statement.IsAllowed when bucket disallowed

Fix statement.IsAllowed when bucket disallowed #343

Workflow file for this run

name: LDAP Config Validator
on:
push:
branches: [main]
pull_request:
branches: [main]
# This ensures that previous jobs for the PR are canceled when the PR is
# updated.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
ldap-config-validator:
name: Test LDAP configuration validator (Go ${{ matrix.go-version }})
runs-on: ubuntu-latest
services:
openldap:
image: quay.io/minio/openldap
ports:
- "389:389"
- "636:636"
env:
LDAP_ORGANIZATION: "MinIO Inc"
LDAP_DOMAIN: "min.io"
LDAP_ADMIN_PASSWORD: "admin"
strategy:
matrix:
go-version: [1.22.x]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
check-latest: true
- uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-${{ matrix.go-version }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-${{ matrix.go-version }}-go-
- name: Test with LDAP server
env:
LDAP_TEST_SERVER: "localhost:389"
run: make test-ldap