Azure / Azure/static-web-apps-cli

The custom role accessibility is not working as expected.

Offen
#649 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
command: deploy priority: low (P2) status: awaiting user input type: question
Vorherrschende Sprache
TypeScript
Sterne
668
Forks
156
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
azure, typescript
Bereich
authentication, authorization, cli
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.