-
Notifications
You must be signed in to change notification settings - Fork 24
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
The new plan still can be shown and started on plans page when plan creation is failed #405
Comments
yes, it could be fixed by giving the user all permissions on networkmaps. |
@yaacov shall we move it to kubev2v/forklift then? |
@yaacov I lost you - I meant to move this issue to kubev2v/forklift so the plan would be set with some condition that prevents it from starting when the mappings are missing |
@ahadas . in this test, the user can't create mappings. |
The workaround is to grant "All" permissions to moving to next because of capacity and easyworkaround. @ahadas what is the default permissions to cc:// @qiyuann (for moving to next) |
it depends on the entity - for forklift-controller it's we have a task to document the required permissions for non-admin users - that's ok to document that we currently require permissions to delete the networkmap in order to create a plan (if that's the current state) |
closing, this will be fixed on the operator / docs side, by documenting the requirements and adjusting the operator to create the needed permissions |
@ahadas @yaacov Are we saying that non-admins can do everything except delete migration plans? If so, that's easy to document. Even not being able to delete any entity is easy to document. |
note: note I: note II: |
I. a "user" will have all the options except "overview / settings" page ( admins only) II. a "read only user" will not be able to |
When creating a new plan is failed because of following error:
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:
Create a non cluster admin user
Create a role with following rules:
Note that there is no 'delete' verb on networkmaps
Bind the user with the role
Log into cluster with the user, and create a new plan
The text was updated successfully, but these errors were encountered: