Azure / Azure/static-web-apps-cli

The custom role accessibility is not working as expected.

Open
#649 1 comment 0 reactions 0 assignees View on GitHub
command: deploy priority: low (P2) status: awaiting user input type: question
Dominant language
TypeScript
Stars
668
Forks
156
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.