[Fleet] Hide advanced tab in Integrations when role is Fleet All Integrations Read (#125819)

This commit is contained in:
Cristina Amico 2022-02-17 11:47:41 +01:00 committed by GitHub
parent 53c5a42d60
commit 962ff44cc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -514,7 +514,7 @@ export function Detail() {
});
}
if (showCustomTab) {
if (canReadPackageSettings && showCustomTab) {
tabs.push({
id: 'custom',
name: (