Feature #3111

Copy action for firewall rules

Added by Davide Principi over 6 years ago. Updated over 6 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-firewall-base
Target version:v6.6
Resolution: NEEDINFO:No

Description

Implement a Copy action in Firewall Rules page. Typical workflow:
  • admin picks Copy from the Actions column of an existing record
  • an edit form of a new rule is shown; the form fields are filled with values from the existing record
  • fields are edited
  • new record is saved and placed under the original record

Associated revisions

Revision f4f53024
Added by Davide Principi over 6 years ago

Added Copy action for Firewall Rules. Refs #3111

Revision 04916f41
Added by Davide Principi over 6 years ago

Fix Action prop copying. Refs #3111

History

#1 Updated by Davide Principi over 6 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Davide Principi
  • % Done changed from 20 to 30

#2 Updated by Davide Principi over 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 30 to 60

Test case

The creation workflow now starts also with the Copy action:
  • check the values from the origin record are properly copied into the form and persisted to DB.
  • verify any possible workflow path is consistent, i.e. the creation of new firewall objects on-the-fly is consistent.

#3 Updated by Davide Principi over 6 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

In nethserver-testing:
nethserver-firewall-base-2.5.1-1.1.gf4f5302.ns6.noarch.rpm

#4 Updated by Giacomo Sanchietti over 6 years ago

  • Assignee set to Giacomo Sanchietti

#5 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from ON_QA to TRIAGED
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 70 to 20

When copying an existing rules, objects are correctly reported but actions is always set to ACCEPT.

#6 Updated by Davide Principi over 6 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Davide Principi
  • % Done changed from 20 to 30

#7 Updated by Davide Principi over 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 30 to 60

#8 Updated by Davide Principi over 6 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

In nethserver-testing:
nethserver-firewall-base-2.5.1-1.18.g04916f4.ns6.noarch.rpm

#9 Updated by Giacomo Sanchietti over 6 years ago

  • Assignee set to Giacomo Sanchietti

#10 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 70 to 90

Now the value of the action field is correctly copied to the new rule.

#11 Updated by Davide Principi over 6 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

CLOSED

In nethserver-updates:
nethserver-firewall-base-2.6.0-1.ns6.noarch.rpm

Also available in: Atom PDF