Skip to content

The new plan still can be shown and started on plans page when plan creation is failed #405

@qiyuann

Description

@qiyuann

When creating a new plan is failed because of following error:
Screenshot from 2023-02-07 11-49-30

The new plan still can be shown on the plans page, migration can be started, VM could be imported successfully.

If creating a new plan is failed, the plan shouldn't be shown on the plans page.

Steps to reproduce:

  1. Create a non cluster admin user

  2. Create a role with following rules:
    Screenshot from 2023-02-07 12-03-28
    Note that there is no 'delete' verb on networkmaps

  3. Bind the user with the role

  4. Log into cluster with the user, and create a new plan

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions