Azure / Azure/static-web-apps-cli

The custom role accessibility is not working as expected.

オープン
#649 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
command: deploy priority: low (P2) status: awaiting user input type: question
主要言語
TypeScript
スター
668
フォーク
156
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, typescript
領域
authentication, authorization, cli
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。