Skip to content

Update any item without having permissions to create it on yaml FireEdge views #6416

Description

@dcarracedo

Description
When in a yaml view is defined that an update action is true but create action is false you cannot update the item on FireEdge Sunstone because the form fails when you click the update button.

To Reproduce

  1. Take any yaml view in user folder.

  2. Set the values for actions as following:
    # Actions - Which buttons are visible to operate over the resources actions: create_dialog: false update_dialog: true

  3. Create the item linked to that view (with cli or oneadmin user).

  4. Try to update it log in in FireEdge Sunstone with a non admin user.

Expected behavior
An user could update an item in FireEdge Sunstone but don't have the create button.

Details

  • Affected Component: FireEdge Sunstone
  • Hypervisor: N/A
  • Version: 6.8

Additional context
This problem is fixed on Vnets on https://github.com/OpenNebula/one-ee/pull/2850. We need to replicate this behavior on the other tabs.

Progress Status

  • Code committed
  • Testing - QA
  • Documentation (Release notes - resolved issues, compatibility, known issues)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions