Remove export permission (if you can view you can export)

This commit is contained in:
William Bouzourène 2025-01-07 16:02:35 +01:00
parent c518cbc20d
commit db0797345c
4 changed files with 0 additions and 40 deletions

View file

@ -58,10 +58,6 @@
<td>Convertir membres en contacts</td>
<td>{% if Role.ConvertMemberToContact %}Oui{% else %}Non{% endif %}</td>
</tr>
<tr>
<td>Exporter membres (CSV)</td>
<td>{% if Role.ExportMember %}Oui{% else %}Non{% endif %}</td>
</tr>
</tbody>
</table>
</div>
@ -106,10 +102,6 @@
<td>Convertir contacts en membres</td>
<td>{% if Role.ConvertContactToMember %}Oui{% else %}Non{% endif %}</td>
</tr>
<tr>
<td>Exporter contacts (CSV)</td>
<td>{% if Role.ExportContact %}Oui{% else %}Non{% endif %}</td>
</tr>
</tbody>
</table>
</div>

View file

@ -154,19 +154,6 @@
</label>
</div>
<div class="mb-3">
<input
type="checkbox"
class="form-check-input me-2"
id="export_member"
name="export_member"
{% if Role.ExportMember %}checked{% endif %}
>
<label for="export_member" class="form-label">
Exporter membres (CSV)
</label>
</div>
<div class="mb-3 mt-4">
<b>Permissions - Contacts</b>
</div>
@ -275,19 +262,6 @@
</label>
</div>
<div class="mb-3">
<input
type="checkbox"
class="form-check-input me-2"
id="export_contact"
name="export_contact"
{% if Role.ExportContact %}checked{% endif %}
>
<label for="export_contact" class="form-label">
Exporter contacts (CSV)
</label>
</div>
<div class="mt-3">
<button class="btn btn-primary" type="submit">
<i class="me-1 bi-floppy"></i>