stackabletech / stackabletech/opa-operator

Add tests for user_group_distinguished_names()

オープン
#640 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

type/internal-debt
主要言語
Rust
スター
21
フォーク
5
平均マージ
12時間 44分
マージ済み PR(30日)
11

説明

In https://github.com/stackabletech/opa-operator/pull/622#top we added an Active Directory backend to the user info fetcher.

As part of this, there was fairly extensive code to convert between some weird representations which AD chose for userids and groupids.

In order to not block the release with this we decided to punt on adding unit tests (hopefully, worst case: integration tests) for this later.

We should try and get this done fairly soon after 24.11.

Issue checklist

This is a simple checklist of things to bear in mind when creating a new issue.

  • Describe the use-case, as far is possible. For instance, using the pattern "As a XXXX, I would like XXXX to be able to do XXXX" helps to identify the feature as well as the problem it is intended to address.
  • Indicate an approximate level of importance and urgency.
  • Indicate if there is a known work-around until such time as the issue has been implemented.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

調査の方向性

pull request 622 で追加された実装および変換コード、特に user_group_distinguished_names() のパスから始めてください。Active Directory のユーザー ID とグループ ID の表現を対象とする単体テスト、または必要に応じて統合テストを追加してください。完了とは、リリースをブロックせずに変換動作がテストされていることを意味します。

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

評価

技術スタック
rust
領域
backend, testing
issue の種類
リファクタリング
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

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

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