Enhanced permissions control for git settings
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- git
- Área
- authorization, security
Línea de trabajo
Start by tracing the existing permission handling for the git-source-control web UI and the Server Source Control menu, then check how IRIS security roles are defined and applied. The issue does not name files or tests, so locate those entry points before estimating the work. Done means owner, maintainer, and developer roles enforce the described access consistently across both interfaces.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
User permissions for git-source-control functionality should be expanded to better fit with that of common remote repositories, such as Gitlab/Github.
Currently, any user with access to the git-source-countrol web UI at all has the complete ability to:
- Change their mode from Basic to Expert
- Access to the Git settings page
On the subject of the settings page, the read-only flag is system-wide, so while it would keep a maintainer or developer out, a project admin would have to manually change the flag, temporarily giving full access to modify settings to any maintainers or developers also using the system.
This is fine for development instances, but for a production IRIS environment, this isn't ideal.
It would be useful to separate out "owner" vs "maintainer" vs "developer" access, with restrictions applying consistently between the web UI pages and the Server Source Control menu.
Owner:
- Expert mode functionality access
- Read/write access to settings UI at all times without needing to change the UI read-only flag
- Full functionality available in repo web UI
Maintainer:
- Basic mode functionality only
- Read-only access to settings UI (could possibly have write access to update mappings only but nothing else)
- Git controls in Server Source Control menu and web UI limited to Basic Mode controls
Developer:
- No access to settings UI
- Read-only access to repo UI
- Only have access to Status and View File History settings
The assignment of these roles should be made at the IRIS security level via new roles created specific from the git-source-control package. This way, developers can have more control over their local repos (access to push, pull, etc.) while having limited access on a production server, and giving maintainers the ability to sync changes from a remote repo without having full access to the entire settings page.
- Lenguaje dominante
- ObjectScript
- Estrellas
- 22
- Forks
- 15
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de intersystems/git-source-control
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
intersystems/git-source-control#1015 ·
-
Dificultad 4/5 1-2 días Aptitud para principiantes 55/100
intersystems/git-source-control#1014 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 18/100
intersystems/git-source-control#1013 ·
Todos los issues de intersystems/git-source-control
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
2DAW-CarlosIII/eportfolio_g5#35 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
2DAW-CarlosIII/eportfolio_g1#34 ·
Los mantenedores suelen responder en 2 días
-
area:security good first issue size:s type:feature
Dificultad 2/5 Medio día Aptitud para principiantes 68/100
jmmana/sqlguardllm#16 ·
-
agents bug workspace
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
detection-rules good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100