Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding roles for logged in user for local development #208

Merged
merged 6 commits into from
Jan 18, 2024

Conversation

komalg1
Copy link
Collaborator

@komalg1 komalg1 commented Jan 18, 2024

Purpose

  • ...
    Based on the principal id, roles can be assigned to the logged in user for local development

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type

What kind of change does this Pull Request introduce?
Adds roles for logged in user with principal type 'User'

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[x] Refactoring (no functional changes, no api changes)
[x] Documentation content changes
[ ] Other... Please describe:

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

```
Then deploy the bicep file using the below command:
```shell
az deployment group create --resource-group {your_resource_group} --template-file deployment.json --subscription {your_azure_subscription_id}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
az deployment group create --resource-group {your_resource_group} --template-file deployment.json --subscription {your_azure_subscription_id}
az deployment group create --resource-group {your_resource_group} --template-file deployment.bicep --subscription {your_azure_subscription_id}

@ross-p-smith ross-p-smith added this pull request to the merge queue Jan 18, 2024
Merged via the queue into Azure-Samples:main with commit 1490577 Jan 18, 2024
1 check passed
eduardogch pushed a commit to devopsdale/chat-with-your-data-solution-accelerator that referenced this pull request Apr 30, 2024
)

* fix for rbac roles

* adding principal id for local dev & in docs

* code review comments

* Apply suggestions from code review

* Apply suggestions from code review

---------

Co-authored-by: Ross Smith <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants