You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On #6129 a regular user (non admin) could not attach a disk to a VM template.
The cause of this issue is that when you get the disks that could be attached:
FSunstonte gets all the info from the API, and when you try to save your template, this includes a field DISK with all the info fields that returns the API. After that, if some of this fields couldn't be change by a regular user (because are in oned.conf) the creation of the VM template will fail.
Also, after correct this error sending to the creation of the VM template the field DISK with only two fields inside (IMAGE and IMAGE_UNAME) there is another problem. The second step (Advanced options) have fields that couldn't be change by a regular user:
For example, oned.conf have this line: VM_RESTRICTED_ATTR = "DISK/TOTAL_BYTES_SEC"
And in the form we can set the field by the user:
So if the user set this field, the creation will fail.
To summarize:
In the form of a regular user, the fields that are not allowed to change in oned.conf will have not appear on it. This has to be dinamically because config is in oned.conf
For an admin user, that not applies, because he could change everything.
Also, there are other functionalities of the app that needs to have this functionality.
The text was updated successfully, but these errors were encountered:
On #6129 a regular user (non admin) could not attach a disk to a VM template.
The cause of this issue is that when you get the disks that could be attached:

FSunstonte gets all the info from the API, and when you try to save your template, this includes a field DISK with all the info fields that returns the API. After that, if some of this fields couldn't be change by a regular user (because are in oned.conf) the creation of the VM template will fail.
Also, after correct this error sending to the creation of the VM template the field DISK with only two fields inside (IMAGE and IMAGE_UNAME) there is another problem. The second step (Advanced options) have fields that couldn't be change by a regular user:

For example, oned.conf have this line:
VM_RESTRICTED_ATTR = "DISK/TOTAL_BYTES_SEC"
And in the form we can set the field by the user:

So if the user set this field, the creation will fail.
To summarize:
The text was updated successfully, but these errors were encountered: