Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

RC > Always provide envId regardless of permission scope #427

Merged
merged 4 commits into from
Jul 11, 2018

Conversation

Blackbaud-SteveBrush
Copy link
Member

@codecov-io
Copy link

codecov-io commented Jun 26, 2018

Codecov Report

Merging #427 into rc-2.0.0 will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##           rc-2.0.0    #427      +/-   ##
===========================================
+ Coverage      99.3%   99.3%   +<.01%     
===========================================
  Files            73      73              
  Lines          1876    1878       +2     
  Branches        288     289       +1     
===========================================
+ Hits           1863    1865       +2     
  Misses           13      13
Flag Coverage Δ
#builder 100% <ø> (ø) ⬆️
#runtime 95.48% <100%> (+0.03%) ⬆️
#srcapp 100% <ø> (ø) ⬆️
Impacted Files Coverage Δ
runtime/auth-http.ts 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 40e8b94...dd0dfab. Read the comment docs.

tokenArgs.permissionScope = this.permissionScope;
}

// Always provide the environment ID.
tokenArgs.envId = this.getEnvId();

Choose a reason for hiding this comment

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

I think we still want to only add this if envId exists.

Copy link
Member Author

Choose a reason for hiding this comment

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

@Blackbaud-BobbyEarl Would it be enough to wrap this assignment in an if statement? Trying to understand where I'm getting this wrong...

const envId = this.getEnvId();
if (envId) {
  tokenArgs.envId = envId;
}

Choose a reason for hiding this comment

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

Yep. Wrapping in an if is what we need.

@Blackbaud-SteveBrush Blackbaud-SteveBrush merged commit 13c1310 into rc-2.0.0 Jul 11, 2018
@Blackbaud-SteveBrush Blackbaud-SteveBrush deleted the rc-envid-no-scope branch July 11, 2018 16:55
Blackbaud-DiHuynh pushed a commit to Blackbaud-DiHuynh/skyux-builder that referenced this pull request Jul 10, 2020
* RC > Removed all references to SKY UX, changed dependency structure (blackbaud#419)

* RC > Updated TSLint rules (blackbaud#422)

* Removed legacy omnibar (blackbaud#420)

* RC > Config params as an object; always decode URL params (blackbaud#421)

* RC > Always provide `envId` regardless of permission scope (blackbaud#427)

* RC > Allow SPAs to bundle stylesheets that live outside of `src/app` (blackbaud#428)

* RC > Adjusted dev dependencies (blackbaud#429)

* RC > Fixed ts-helpers for build (blackbaud#434)

* RC > Update from master (blackbaud#425)

* RC > Removed global RxJS imports (blackbaud#438)

* RC > Replaced error component with iframe (blackbaud#436)

* RC > Removed SKY CSS import (blackbaud#443)

* RC > Instrument different directory for libraries (blackbaud#448)

* RC > Do not ignore Protractor Error 199 (blackbaud#435)

* RC > Merged master (blackbaud#444)

* RC > Merge master (blackbaud#454)

* RC > Upgrade Angular, RxJS, TypeScript (blackbaud#495)

* RC > Moved auth-client to peer dependency; fixed `skyux watch` (blackbaud#503)

* Disabled webpack host check (blackbaud#505)

* Replaced JSHint with ESLint. (blackbaud#506)

* RC > Merge master (blackbaud#508)

* RC > Changed name of NPM package (blackbaud#501)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants