Azure / Azure/static-web-apps-cli

The custom role accessibility is not working as expected.

Aperta
#649 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
command: deploy priority: low (P2) status: awaiting user input type: question
Lingua principale
TypeScript
Stelle
668
Fork
156
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Using swa cli version 1.0.6

**Describe the bug**
The custom role accessibility is not working as expected.
I run swa cli from my local machine and publish to a static webabb.
I have login to azure using Service principle and The command I use is,
swa deploy --verbose silly --app-location [appLocation] --deployment-token [deploymentToken] --env [envName] --api-location [apilocation] --swa-config-location [configFileLocation]

The custom role access restriction is not working. The restricted page is accessible to all.

**Expected behavior**
The restricted page is not accessible to all except to the respective members of active directory group.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reproducing the issue with the reported swa deploy command, using the app location, API location, SWA config location, environment name, deployment token, and service-principal login described in the report. Verify whether a restricted page is accessible to users outside the respective Active Directory group; done means the custom role restriction is enforced.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
azure, typescript
Ambito
authentication, authorization, cli
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.