Skip to content

Commit

Permalink
add blob content contribute role to backend (#206)
Browse files Browse the repository at this point in the history
## Purpose
<!-- Describe the intention of the changes being proposed. What problem
does it solve or functionality does it add? -->
* ...

## Does this introduce a breaking change?
<!-- Mark one with an "x". -->
```
[ ] Yes
[ ] No
```

## Pull Request Type
What kind of change does this Pull Request introduce?

<!-- Please check the one that applies to this PR using "x". -->
```
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] 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
<!-- Add steps to run the tests suite and/or manually test -->
```
```

## What to Check
Verify that the following are valid
* ...

## Other Information
<!-- Add any other helpful information that may be needed here. -->
  • Loading branch information
LittleLittleCloud authored Oct 31, 2023
1 parent cbe158e commit 58db583
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,16 @@ module storageRoleBackend 'core/security/role.bicep' = {
}
}

module storageContribRoleBackend 'core/security/role.bicep' = {
scope: storageResourceGroup
name: 'storage-contribrole-backend'
params: {
principalId: web.outputs.SERVICE_WEB_IDENTITY_PRINCIPAL_ID
roleDefinitionId: 'ba92f5b4-2d11-453d-a403-e96b0029c9fe'
principalType: 'ServicePrincipal'
}
}

module searchRoleBackend 'core/security/role.bicep' = {
scope: searchServiceResourceGroup
name: 'search-role-backend'
Expand Down

0 comments on commit 58db583

Please sign in to comment.