This repository was archived by the owner on Mar 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 403
[End User Vault Refresh] Organizations - updated nav and route permissions #1551
Merged
Merged
Changes from all commits
Commits
Show all changes
74 commits
Select commit
Hold shift + click to select a range
4a4e60c
Handle navigation to Org layout without org id
eliykat dd36820
Add top level Organization navigation
eliykat 7311a30
Limit access to admins only
eliykat 0bc8a40
Move org picker to own component
eliykat f140440
WIP organization picker
eliykat d1717a1
Undo change to debug setting
eliykat 62581a7
Always show org tabs
eliykat ac54947
Fix logic for accessing org admin view
eliykat bb96bdf
Don't change chevron based on menu state
eliykat c8cbdfd
Update org vault if org changes
eliykat 77d3fde
Reset active filter when org changes
eliykat 0e59aca
Add styling
eliykat 18bd003
Fix styling
eliykat 32c7ba0
Fix flickering when changing org
eliykat 8bfa2b1
Properly reset groupings component
eliykat 6bc1c5a
Move info banner outside of button
eliykat e41fdaf
Update jslib from feature branch
eliykat d6ffa41
Merge branch 'Feature/EndUserVaultRefresh' into feat/refresh/orgs
eliykat 19ed413
Merge branch 'Feature/EndUserVaultRefresh' into feat/refresh/orgs
eliykat 1bb97dc
Update jslib from Feature/EndUserVaultRefresh
eliykat b5a42b8
Use input in picker instead of route params
eliykat 4ebb144
Move default org selection logic from guard to layout component
eliykat b04b6cd
Merge branch 'Feature/EndUserVaultRefresh' into feat/refresh/orgs
eliykat 1cb4d93
Centralize route permission handling
eliykat c3b52c8
Simplify logic
eliykat 2faa177
WIP Angular CDK Overlay for picker
eliykat 386d0b9
Remove org picker changes for separate PR
eliykat 3275039
Remove org picker changes for separate PR
eliykat 341bd1f
Move default org selection logic from guard to layout component
eliykat 91dcabc
Fix rebase
eliykat 2342d8b
Fix rebase
eliykat ee23f10
Simplify logic
eliykat 9e979df
Revert to using route guards, refactor
eliykat 1e13109
Rename route guards
eliykat ddc9200
Update bitwarden_license routing
eliykat ef0a887
Removing old changes
eliykat 0a574e1
Restore disabled warning
eliykat 43e31b5
Simplify logic
eliykat c58a63c
Create separate organization routing module
eliykat 30f5770
Update jslib from feature branch
eliykat 38828a9
Merge branch 'Feature/EndUserVaultRefresh' into feat/refresh/orgs
eliykat 994ca98
Action review feedback
eliykat 8ffdbe8
Remove aliasing
eliykat 93eabe9
Use BaseGuardService
eliykat 4c75fbc
Rename guard and add comment
eliykat 0870b50
Update filename
eliykat 2b4b3a4
Update naming
eliykat 9cd3113
Extract permissions handling to PermissionsService
eliykat 73a5a0b
Update naming
eliykat 85050e1
Update naming
eliykat cc4de91
Remove unused import
eliykat 23a40d5
Merge branch 'Feature/EndUserVaultRefresh' into feat/refresh/orgs
eliykat f179896
Update imports for latest jslib
eliykat 338b101
Update routing guard naming convention
eliykat 31b0fb4
Style fixes
eliykat d6c181c
Define Angular CLI globals to support tree shaking (#1541)
Hinton 62b1713
Fix constructor parameter
eliykat 458097e
Fix constructor parameter
eliykat 3ca046e
Simplify template
eliykat a1fdd1a
Remove redirect route guard
eliykat b605e10
Tweak routing config
eliykat 06e8dfa
Revert "Tweak routing config"
eliykat e21622f
Restore order of ngModule imports
eliykat 0cb61b8
Use new permissions service in bitwarden_license
eliykat 575847f
Update configurations for self-hosted (#1558)
MGibson1 2c43249
Restore order of ngModule imports (#1560)
eliykat 00975e6
Use the new KDF constants (#1559)
Hinton 0884e2d
Bump node-forge (#1562)
Hinton 7f49c7b
Merge branch 'master' into feat/refresh/orgs
eliykat d9b1c6b
Revert "Merge branch 'master' into feat/refresh/orgs"
eliykat 877c673
Revert "Revert "Merge branch 'master' into feat/refresh/orgs""
eliykat 5632469
Revert "Merge branch 'master' into feat/refresh/orgs"
eliykat d21bbba
Merge branch 'Feature/EndUserVaultRefresh' into feat/refresh/orgs
eliykat 00a98f5
Fix order of navbar items
eliykat File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 18 additions & 9 deletions
27
...pp/services/organization-guard.service.ts → ...organizations/guards/permissions.guard.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we need a link to organizations as well if they have more than 1?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's what the organization picker is for (still WIP). This link only needs to send them to the first org in their list, then they user the picker from that page to change orgs if they need to.