CodeChecker internal group membership handling
I maintainer di solito rispondono entro 8 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 12/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- authorization, backend, database
Direzione di ricerca
This is phase II of the OAuth work in #4160 and spans the SUPERUSER permission model (docs/web/permissions.md), group storage in the database, the web GUI, and the allowed_groups login check in server_config.json. Start by reading #4160 and the permissions doc to see what phase I already provides. Done means group and membership management work for superusers only, and login is restricted to the allowed_groups list when it is non-empty. The issue has no comments, assignees or linked pull requests, so confirm the scope with maintainers before starting.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
This is the phase II authorization part of the oauth based authentication #4160
Requirements:
Group adminisration should be only possible with SUPERUSER global permission. See https://github.com/Ericsson/codechecker/blob/master/docs/web/permissions.md#superuser
It should be possible to add users (by an admin) in the web GUI of CodeChecker.
It should be possible to add groups too.
It should be possible to assign users to groups.
group memberships shoudl be stored in the database
It should be possible to list group memberships.
It should be possible to list users with the last login date.
The user can define a list of groups of which the users must be a member of to log in in
server_config.json :
"authentication": {
"enabled" : true,
"realm_name" : "CodeChecker Privileged server",
"realm_error" : "Access requires valid credentials.",
"session_lifetime" : 300,
"refresh_time" : 60,
"logins_until_cleanup" : 30,
"allowed_groups" : ["users","admins"]
If the list is empty, all users are allowed to log in.
Minimum required fields for user addition to a group:
Email address (unique identifier of a user)
- Lingua principale
- Python
- Stelle
- 2.6k
- Fork
- 494
- Merge medio
- 9g 2h
- PR unite (30g)
- 23
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
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.
Altre issue di Ericsson/codechecker
-
infer analyzer does not work with --jobsForse già presa @pcbeingused333 l’ha presa 5 giorni fa. Apertagood to go :rocket:
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Ericsson/codechecker#5110 ·
I maintainer di solito rispondono entro 8 giorni
-
Bug Report: diagtool not found on WindowsForse già presa @pujitha24 l’ha presa 17 giorni fa. Apertagood to go :rocket:
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Ericsson/codechecker#4802 ·
I maintainer di solito rispondono entro 8 giorni
-
analyzer :chart_with_upwards_trend: CLI :computer: discussion :bulb: enhancement :star2:
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
Ericsson/codechecker#3836 · 2 commenti ·
I maintainer di solito rispondono entro 8 giorni
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
Ericsson/codechecker#5165 ·
I maintainer di solito rispondono entro 8 giorni
-
Cppcheck addon reports are dropped since 6.27 (regression from #4690)Forse già presa @pcbeingused333 l’ha presa 7 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 76/100
Ericsson/codechecker#5161 ·
I maintainer di solito rispondono entro 8 giorni
Tutte le issue di Ericsson/codechecker
Issue simili
-
question
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
conda-forge/vc-feedstock#132 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
limitlessprojects/Go-Hybrid#3342 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
UKGovernmentBEIS/inspect_ai#6268 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
LSSTDESC/rail_sompz#42 ·
-
All tests fail with 'EXITED with status 3' on pytest 9.2.0 (TestReport._id is not marshallable)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
pytest-dev/pytest-forked#113 ·