Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Allow ARP wildcard matching at the start of the attribute values

オープン 初心者向け
#2,040 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 20 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
76/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
静か
技術スタック
php
領域
backend, security

調査の方向性

属性値のワイルドカードマッチングが実装されている src/OpenConext/EngineBlock/Metadata/AttributeReleasePolicy.php の204〜216行目付近から開始します。既存の文字列末尾でのマッチング動作を追跡して関連するテストカバレッジを特定し、そのうえで *@uni-harderwijk.nl のようなサフィックスマッチングが機能する一方、途中にあるワイルドカードは引き続きサポートされていないことを確認します。

索引モデルが issue の本文から書いたものです。

説明

Currenty, we only support matching of attribute values with wildcards at the end of the string: https://github.com/OpenConext/OpenConext-engineblock/blob/b64cea9e6350b1884ea9618f4a765c258225633c/src/OpenConext/EngineBlock/Metadata/AttributeReleasePolicy.php#L204-L216

This works well for urns etc (such as in eduPersonEntitlement) but not in email-syntax values like mail and eduPersonPrincipalName. However, sometimes it is useful to only release ePPN or mail for a specific institution. See for example https://servicedesk.surf.nl/jira/browse/SD-129817

So I would like to add support for suffix-matching, for example to be able to release ePPN and mail only for *@uni-harderwijk.nl. Looking at the code (linked above) this seems rather straightforward.

Note that I explicitly do not whish to introduce support for wildcards in the middle of the string

主要言語
PHP
スター
17
フォーク
25
平均マージ
15日 5時間
マージ済み PR(30日)
8

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

OpenConext/OpenConext-engineblock のほかの issue

OpenConext/OpenConext-engineblock の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。