MDL-61899 tool_dataprivacy: Add lawful bases fields

Includes MDL-61935

* New fields when defining purposes that let the Privacy Officer
set the lawful bases of personal data collection and reason(s)
for the exemption of prohibition from processing sensitive personal
data.
This commit is contained in:
Jun Pataleta 2018-04-11 18:02:19 +08:00 committed by Eloy Lafuente (stronk7)
parent e60058ff98
commit 5750d233f9
6 changed files with 183 additions and 13 deletions

View file

@ -70,6 +70,8 @@
<tr>
<th scope="col">{{#str}}name{{/str}}</th>
<th scope="col">{{#str}}description{{/str}}</th>
<th scope="col">{{#str}}lawfulbases, tool_dataprivacy{{/str}}</th>
<th scope="col">{{#str}}sensitivedatareasons, tool_dataprivacy{{/str}}</th>
<th scope="col">{{#str}}retentionperiod, tool_dataprivacy{{/str}}</th>
<th scope="col">{{#str}}protected, tool_dataprivacy{{/str}}</th>
<th scope="col">{{#str}}actions{{/str}}</th>
@ -80,6 +82,24 @@
<tr data-purposeid="{{id}}">
<td>{{{name}}}</td>
<td>{{{description}}}</td>
<td>
<ul>
{{#formattedlawfulbases}}
<li>
<span>{{name}}{{# pix }} i/info, core, {{description}} {{/ pix }}</span>
</li>
{{/formattedlawfulbases}}
</ul>
</td>
<td>
<ul>
{{#formattedsensitivedatareasons}}
<li>
<span>{{name}}{{# pix }} i/info, core, {{description}} {{/ pix }}</span>
</li>
{{/formattedsensitivedatareasons}}
</ul>
</td>
<td>{{formattedretentionperiod}}</td>
<td>
{{#protected}}