stackabletech / stackabletech/opa-operator
Add tests for user_group_distinguished_names()
Nessuno ha ancora preso questa issue.
- Lingua principale
- Rust
- Stelle
- 21
- Fork
- 5
- Merge medio
- 12h 44m
- PR unite (30g)
- 11
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia dal codice di implementazione e conversione aggiunto in pull request 622, in particolare dal percorso user_group_distinguished_names(). Aggiungi unit test o, se necessario, test di integrazione che coprano le rappresentazioni degli ID utente e gruppo di Active Directory; il lavoro è completato quando il comportamento di conversione è verificato senza bloccare il release.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- rust
- Ambito
- backend, testing
- Tipo di issue
- Refactoring
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 48/100