[Kimchi-devel] [RFC] Mock for Authorization: Allow admin user change permission settings when VM is running

Wen Wang wenwang at linux.vnet.ibm.com
Tue Aug 19 01:04:57 UTC 2014


On 8/19/2014 12:57 AM, Aline Manera wrote:
>
> On 08/18/2014 02:57 AM, Yu Xin Huo wrote:
>> On 8/15/2014 5:39 PM, Wen Wang wrote:
>>> Hi all,
>>>
>>> Here is the new design of the "Edit" function. We are going to 
>>> enable user viewing VM details when VMs are running and "Permission" 
>>> is always available whether a VM is running or not.
>>>
>>> Here's the detail of the design:
>>> 1) Enable "Edit" in "Action" whether VM is running or not.
>>> 2) Delete "Manage Media" button and move it to a tab in "Edit"
>>> 3) Enable "Permission" & "Manage Media" and provide read-only 
>>> privilege of "General", "Storage", "Interface" when a VM is running.
>>> 4) Enable "General", "Storage", "Interface", "Permission" and 
>>> provide read-only privilege of "Manage Media"when a VM is not running.
>>>
>>> Mocks are added below:
>>>
>>> Delete "Manage Media" and enable "Edit" all the time.
>>>
>>> When a VM is running, tabs are presented:
>>>
>>>
>> Per my understanding:
>> 1. 'hdc' in 'Storage' tab is just the 'Media' in 'Manage Media' tab, 
>> so 'Manage Media' tab can be omitted.
>>     and this entry can be updated when both VM is up or down.
>> 2. 'Permission' tab will be enabled when both vm is up or down.
>> 3. 'General', 'Storage(except hdc)', 'Interface' tabs are enabled 
>> only when vm is down.
>
> Yeap. That is correct.
>
> "Manage media" option was available to allow user change the "cdrom" path.
> As it is already in the Storage tag, we don't need the "Manage media" 
> anymore.
>
> While loading the "Storage" tab, check if the storage is has type == 
> *cdrom*, and if so enable it for edit. Otherwise, keep it only for view.
>
ACK. So the "Edit" tab should look somewhat like below:

hdc is editable and we no longer have the manage media tab
>
>>>
>>>
>>>
>>>
>>> When a VM is not running, tabs are presented all like what is right 
>>> now only with a new tab of "Manage Media" read-only:
>>>
>>>
>>> Any comment is welcomed
>>>
>>> Best Regards
>>>
>>> Wang Wen
>>>
>>>
>>>
>>> _______________________________________________
>>> Kimchi-devel mailing list
>>> Kimchi-devel at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/kimchi-devel
>>
>>
>>
>> _______________________________________________
>> Kimchi-devel mailing list
>> Kimchi-devel at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/kimchi-devel
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20140819/902a4643/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 20674 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20140819/902a4643/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ssss.png
Type: image/png
Size: 15773 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20140819/902a4643/attachment-0001.png>


More information about the Kimchi-devel mailing list