[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-10332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rafael Weingärtner updated CLOUDSTACK-10332:
--------------------------------------------
    Description: 
Users should be able to edit an ACL rule completely. Therefore, they must be 
able to change the protocol type and others configs of an ACL rules.

Right now users are not able to execute the following. 
* Create an ACL for ICMP
* Click on edit and change the protocol to TCP
* An error will happen when saving the rule.

Users should be able to execute the protocol changes without problem.



In addition, it is not just the protocol that users are not able to change. For 
instance, after defining ports, or reason/description for the rule, users are 
not able to set those values back to null. The same happens for ICMP code and 
type.

We will introduce a new parameter called "partialUpdate", which will have its 
default value as true to maintain backward compatibility. When this parameter 
is set to false, we will consider only the parameters sent, and not the 
parameters we already have in the database to change and validate the ACL rule 
data. This allows us to update parameters already set back to null, and to 
completely change an ACL rule.

  was:
Users should be able to edit an ACL rule completely. Therefore, they must be 
able to change the protocol type and others configs of an ACL rules.

Right now users are not able to execute the following. 
* Create an ACL for ICMP
* Click on edit and change the protocol to TCP
* An error will happen when saving the rule.

Users should be able to execute the protocol changes without problem.


> Users are not able to change/edit the protocol of an ACL rule 
> --------------------------------------------------------------
>
>                 Key: CLOUDSTACK-10332
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10332
>             Project: CloudStack
>          Issue Type: New Feature
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>            Reporter: Rafael Weingärtner
>            Assignee: Rafael Weingärtner
>            Priority: Major
>             Fix For: 4.12
>
>
> Users should be able to edit an ACL rule completely. Therefore, they must be 
> able to change the protocol type and others configs of an ACL rules.
> Right now users are not able to execute the following. 
> * Create an ACL for ICMP
> * Click on edit and change the protocol to TCP
> * An error will happen when saving the rule.
> Users should be able to execute the protocol changes without problem.
> In addition, it is not just the protocol that users are not able to change. 
> For instance, after defining ports, or reason/description for the rule, users 
> are not able to set those values back to null. The same happens for ICMP code 
> and type.
> We will introduce a new parameter called "partialUpdate", which will have its 
> default value as true to maintain backward compatibility. When this parameter 
> is set to false, we will consider only the parameters sent, and not the 
> parameters we already have in the database to change and validate the ACL 
> rule data. This allows us to update parameters already set back to null, and 
> to completely change an ACL rule.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to