fix(xo-web/home): hide backup filter for non-admin users (#5287)

See #5285
This commit is contained in:
Rajaa.BARHTAOUI 2020-10-06 16:47:20 +02:00 committed by GitHub
parent 3d8c8fd745
commit 9d261aae76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@
- [User] Fix custom filters not showing up when selecting a default filter for templates (PR [#5298](https://github.com/vatesfr/xen-orchestra/pull/5298)) - [User] Fix custom filters not showing up when selecting a default filter for templates (PR [#5298](https://github.com/vatesfr/xen-orchestra/pull/5298))
- [Self/VDI migration] Fix hidden VDI after migration (PR [#5296](https://github.com/vatesfr/xen-orchestra/pull/5296)) - [Self/VDI migration] Fix hidden VDI after migration (PR [#5296](https://github.com/vatesfr/xen-orchestra/pull/5296))
- [Self/VDI migration] Fix `not enough permissions` error (PR [#5299](https://github.com/vatesfr/xen-orchestra/pull/5299)) - [Self/VDI migration] Fix `not enough permissions` error (PR [#5299](https://github.com/vatesfr/xen-orchestra/pull/5299))
- [Home] Hide backup filter for non-admin users [#5285](https://github.com/vatesfr/xen-orchestra/issues/5285) (PR [#5264](https://github.com/vatesfr/xen-orchestra/pull/5264))
### Packages to release ### Packages to release

View File

@ -1162,7 +1162,7 @@ export default class Home extends Component {
</Button> </Button>
</OverlayTrigger> </OverlayTrigger>
)} )}
{type === 'VM' && ( {isAdmin && type === 'VM' && (
<OverlayTrigger <OverlayTrigger
trigger='click' trigger='click'
rootClose rootClose