Skip to content

Commit

Permalink
Merge pull request #1006 from bcgov/BCMOHAD-18354-v5
Browse files Browse the repository at this point in the history
BCMOHAM-14715 || setting deployment user
  • Loading branch information
NataliaNikishina authored Dec 8, 2023
2 parents db080ea + 6546638 commit aba8895
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/Manual Build Check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ jobs:

- name: Set deployment user standard security
run: |
sf force:user:permsetlicense:assign -u ciorg -n "OmniStudio"
sf force:user:permsetlicense:assign -u ciorg -n "OmniStudio User"
sf force:user:permset:assign -o ciorg -n OmniStudioAdmin
sf force:user:permset:assign -o ciorg -n OmniStudioExecution
sf force:user:permsetlicense:assign -u ciorg -n "Health Cloud"
sf force:user:permsetlicense:assign -u ciorg -n "Health Cloud Platform"
sf force:user:permset:assign -o ciorg -n HealthCloudFoundation
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:

- name: Set deployment user standard security
run: |
sf force:user:permsetlicense:assign -u ciorg -n "OmniStudio"
sf force:user:permsetlicense:assign -u ciorg -n "OmniStudio User"
sf force:user:permset:assign -o ciorg -n OmniStudioAdmin
sf force:user:permset:assign -o ciorg -n OmniStudioExecution
sf force:user:permsetlicense:assign -u ciorg -n "Health Cloud"
sf force:user:permsetlicense:assign -u ciorg -n "Health Cloud Platform"
sf force:user:permset:assign -o ciorg -n HealthCloudFoundation
Expand Down
4 changes: 4 additions & 0 deletions dev-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ echo "Creating scratch org, \"$alias\"..."
dx force:org:create -v devhub -a $alias -f config/project-scratch-def.json -d $duration -s
dx force:data:record:update -u $alias -s Organization -w "Name='Special Authority Scratch Org'" -v "TimeZoneSidKey='America/Los_Angeles'"
dx force:data:record:update -u $alias -s User -w "Name='User User'" -v "TimeZoneSidKey='America/Los_Angeles'"
sfdx force:user:permsetlicense:assign -u $alias -n "OmniStudio"
sfdx force:user:permsetlicense:assign -u $alias -n "OmniStudio User"
sfdx force:user:permset:assign -u $alias -n OmniStudioAdmin
sfdx force:user:permset:assign -u $alias -n OmniStudioExecution
sfdx force:user:permsetlicense:assign -u $alias -n "Health Cloud"
sfdx force:user:permsetlicense:assign -u $alias -n "Health Cloud Platform"
sfdx force:user:permset:assign -u $alias -n HealthCloudFoundation
Expand Down

0 comments on commit aba8895

Please sign in to comment.