t-markmann / nc-userimporter

This tool creates Nextcloud users from a CSV file, which you exported from some other software or created with a spreadsheet software. To disable/enable/delete users, try: https://github.com/t-markmann/nc-usermanager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enhancement: Add pdf-generation for administrator AND/OR each user

R3dst4r opened this issue · comments

Current condition:
pdfonedoc only allows either <pdfonedoc>yes</pdfonedoc> OR <pdfonedoc>yes</pdfonedoc>

Target state:
Add parallel usage (logical gate "OR")

  • <pdfonedoc>yes</pdfonedoc>
  • <pdfonedoc>no</pdfonedoc>

of pdfonedoc (config.xml) for administrator + each user.

When acheiving target state, the nc-administrator will

  1. be supplied with a list of all users
  2. be supplied with a fileset of individual users' pdfs

Thanks in advance for consideration.

PS: Please tag @BenBo17 in your response if necessary. I am not very familiar with Github.

We also considered resetting password expiry date in the database (e.g. via shell) and send a single email using <pdfonedoc>yes</pdfonedoc> with each user as recipent.
Nevertheless, we did not favor this suggestion because we think that the first solution suits better for data privacy reasons.

@BenBo17