Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update prod-beta to recent changes #598

Merged
merged 30 commits into from
Feb 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
4358c12
initial call to rbac
tahmidefaz Jan 13, 2020
92f8eaa
get all paginated requests from rbac
tahmidefaz Jan 14, 2020
372034c
Merge branch 'master' of github.com:RedHatInsights/insights-chrome in…
tahmidefaz Jan 15, 2020
0055c54
using localstorage to store user permissions
tahmidefaz Jan 15, 2020
2e548bc
using chrome function
tahmidefaz Jan 15, 2020
4cff552
making userPermissions() return Promise
tahmidefaz Jan 16, 2020
ed18b9b
using higher limit for fetching rbac permissions and updating tests
tahmidefaz Jan 16, 2020
a04b4f9
code cleanup
tahmidefaz Jan 16, 2020
e1afc1e
using custom logs
tahmidefaz Jan 16, 2020
0a35a06
using the rbac-client
tahmidefaz Jan 20, 2020
30f0c20
lint needs package-lock.json
tahmidefaz Jan 20, 2020
e3268dd
Merge branch 'master' into get-rbac-permissions
karelhala Jan 21, 2020
5fe8719
attempt at async test
tahmidefaz Jan 21, 2020
ac91fde
Merge branch 'get-rbac-permissions' of github.com:RedHatInsights/insi…
tahmidefaz Jan 21, 2020
aa346f6
test
tahmidefaz Jan 22, 2020
9de1437
Merge branch 'master' into get-rbac-permissions
tahmidefaz Jan 22, 2020
3f83347
adding test to verify the concatenation function
tahmidefaz Jan 23, 2020
4c2b870
Merge branch 'get-rbac-permissions' of github.com:RedHatInsights/insi…
tahmidefaz Jan 23, 2020
1498bbc
Bump @redhat-cloud-services/frontend-components-remediations (#585)
dependabot-preview[bot] Jan 27, 2020
2d19e06
Merge branch 'master' into get-rbac-permissions
karelhala Jan 27, 2020
16cc7c6
Merge pull request #554 from RedHatInsights/get-rbac-permissions
karelhala Jan 28, 2020
8729bc5
Bump @redhat-cloud-services/frontend-components-inventory (#589)
dependabot-preview[bot] Jan 28, 2020
a2acbdc
Bump @redhat-cloud-services/frontend-components-inventory (#590)
dependabot-preview[bot] Jan 28, 2020
dac63b5
Add permission checker constants and logic to hide navigation element…
karelhala Jan 30, 2020
3a5f1bc
Page action changes for OUIA (#594)
psav Jan 30, 2020
75c69d3
Bump @redhat-cloud-services/frontend-components-inventory (#595)
dependabot-preview[bot] Jan 30, 2020
f28d311
Bump @redhat-cloud-services/frontend-components-inventory (#596)
dependabot-preview[bot] Jan 31, 2020
bff83a3
Fix chrome cache (#512)
PanSpagetka Jan 31, 2020
64c873c
Add documentation link for Cost Management. (#597)
chambridge Feb 3, 2020
2a6d27c
Add documentation for ansible bundle. (#591)
newswangerd Feb 3, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion config/setupTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,23 @@ global.window.insights = {
isBeta: () => {
return null;
},
isProd: false,
auth: {
...(window.insights && window.insights.chrome && window.insights.chrome) || {},
getUser: () => new Promise((res) => res({
identity: {
// eslint-disable-next-line camelcase
account_number: '0',
type: 'User'
},
entitlements: {
insights: {
// eslint-disable-next-line camelcase
is_entitled: true
}
}
}))
}
},
getUserPermissions: () => Promise.resolve([])
}
};
Loading