New-AzRoleAssignment generates random GUID for name
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
Start from src/Extensions/Resources/Customization/NewRoleAssignmentProcessor_Orchestrator.cs, where the issue says the random name is produced, and trace where the role assignment name is set when omitted. Check what scope, role definition and principal identifiers are available at that point, then compare with the Azure CLI path for az role assignment create and the deterministic scheme agreed with the Bicep team. Done means both surfaces generate the same stable GUID for the same scope/definition/principal, with tests covering omitted-name behavior.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Target surface
Both
What problem are you trying to solve?
New-AzRoleAssignment generates random GUID for name. It is probably the same for az role assignment create. Source: https://github.com/Azure/azclips/blob/main/src/Extensions/Resources/Customization/NewRoleAssignmentProcessor_Orchestrator.cs
There is ongoing effort to make the name deterministic when omitted and created via various tools like Azure Portal, CLI, PS, Bicep, Terraform, etc. The name will still be guid but it will be made based on scope, definition and principal. I do not know exactly the full schedule for such release but I would guess will probably be released at the same time in the various tools including the publicly available CLI and PS. Would be good if this is implemented now on the preview cmdlets before they are released to public. As the architecture for this is already settled from various public calls with Bicep team it should be easy to implement.
Proposed solution
deterministic name when not omitted.
Alternatives or workarounds
No response
Additional context
No response
- Lenguaje dominante
- C#
- Estrellas
- 18
- Forks
- 10
- Merge medio
- 1 d 20 h
- PR fusionados (30 d)
- 157
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni 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 Azure/azclips
-
act-identity-squad bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 1 día
-
act-identity-squad bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
act-identity-squad bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
act-identity-squad bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Azure/azclips#1512 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
[Agent] Interactive recovery runs shell commands in the install folder, not the user's folderAbiertoact-experience-enablement-squad bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
Todos los issues de Azure/azclips
Issues similares
-
launcher item missingAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Realm667/WolfenDoom#1758 ·
-
SDK version compatibility issueAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
-
AI documentation good first issue help wanted
Dificultad 1/5 1-3 horas Aptitud para principiantes 84/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
akshit-bansal11/edgepad#106 ·
Los mantenedores suelen responder en 1 día