Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Corrected dash.can_access call to take context
horizon_main_nav makes a call to dash.can_access which should take context but was being passed the request, this patch corrects that. Unit test added to prevent regression, and fix added to RbacHorizonTests to clean up changes to Cats and Dogs test dashboards, as it was affecting any test that followed. Change-Id: I46d9880ba3ac46c23a8253a4afcf2c169d6f4dc8 Closes-Bug: 1368673
- Loading branch information
Showing
3 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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 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 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