Tenant viewer can add widgets (UI)

Description

Tenant Viewer can add "High Availability ", "user-group management", "user - management", "Tenants management" ,"snapshot list", "Blueprint Action button ", "blueprint deployments" , "Deployment Action Button", "deployment metric graph", "new deployment button", "plugins catalog” widgets although he doesn’t have permission.

Prerequisites:

  • Cloudify premium CLI edition installed version 4.2

  • Cloudify manager v4.2 bootstrapped (SSL disabled)

  • The user 'Tenant_Viewer' has been created.

Steps:

  1. Log in to Tenant Viewer ui

  2. Click on "edit mode" on the user menu.

  3. Select "High Availability ", "user-group management", "user - management", "Tenants management" ,"snapshot list", "Blueprint Action button ", "blueprint deployments" , "Deployment Action Button", "deployment metric graph", "new deployment button”and "plugins catalog” widgets from widget list by clicking on “add-widget“ button.

  4. Add the selected widgets by clicking “Add selected widgets” button.

Expected result:

  • Tenant Viewer can use “edit mode” for creating widgets and template.

  • "High Availability ", "user-group management", "user - management", "Tenants management" ,"snapshot list", "Blueprint Action button ", "blueprint deployments" , "Deployment Action Button", "deployment metric graph", "new deployment button" and "plugins catalog" widgets were not found.

  • "Time filter" widget has been added.

Actually result:
All the widgets have been added.

Assignee

Omer Duskin

Reporter

Lital Hamami

Labels

None

Bug Type

None

Target Version

None

Severity

None

Epic Link

Fix versions

Affects versions

Configure