Skip to content
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

Way to disable migrate poweroff/poweroff-hard option in Sunstone groupadmin view #3215

Closed
2 of 7 tasks
OpenNebulaSupport opened this issue Apr 11, 2019 · 2 comments
Closed
2 of 7 tasks

Comments

@OpenNebulaSupport
Copy link
Collaborator

OpenNebulaSupport commented Apr 11, 2019

Description
Groupadmin and normal users shouldn't be able to see infrastructure details, so this option should be disable by default in Sunstone groupadmin and user views.

To Reproduce
Click on the migrate button in Sunstone.

Expected behavior
Groupadmin and normal users shouldn't see that option by default.

Details

  • Affected Component: Sunstone
  • Version: development

Additional context

Progress Status

  • Branch created
  • Code committed to development branch
  • Testing - QA
  • Documentation
  • Release notes - resolved issues, compatibility, known issues
  • Code committed to upstream release/hotfix branches
  • Documentation committed to upstream release/hotfix branches
@tais
Copy link

tais commented Aug 29, 2019

This is mainly just the part of two missing lines in the view files, you can add the following to the VM part of the view files, works like a charm in 5.8.1.

            VM.migrate_poff: false
            VM.migrate_poff_hard: false

Add this somewhere in the same location as the other two migrate options, eg the link

https://github.com/OpenNebula/one/blob/master/src/sunstone/etc/sunstone-views/kvm/user.yaml#L374

jloboescalona2 pushed a commit to jloboescalona2/one that referenced this issue Sep 24, 2019
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
jloboescalona2 pushed a commit to jloboescalona2/one that referenced this issue Sep 24, 2019
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
tinova pushed a commit that referenced this issue Oct 3, 2019
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
jloboescalona2 pushed a commit to jloboescalona2/docs that referenced this issue Oct 14, 2019
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
@jloboescalona2
Copy link
Contributor

@tinova PR to approve:
-Docs: OpenNebula/docs#800

tinova pushed a commit to OpenNebula/docs that referenced this issue Oct 14, 2019
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
@tinova tinova closed this as completed Oct 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants