.. _install ============= install ============= attachment via email ==================== Si possono allegare immagini inviando email. Immginiamo di volere usare il dominio ticket.local, con postfix occorre configurare ``main.cf``: mydestination = bluff localhost.localdomain ticket.locals transport_maps = hash:/etc/postfix/transport e ``master.cf`` ticket unix - n n - - pipe flags=FR user=mail:mail argv=sudo -u www-data /path_to/bin/django ticket_attachment -t ${user} inoltre occorre impostare sudoers:: mail ALL= (www-data) NOPASSWD: /path_to/bin/django e impostare il transport in `/etc/postfix/tranport`:: ticket.local ticket: seguito da:: postmap /etc/postfix/tranport service postfix reload .. _settings: ============= Settings ============= Permissions ----------- The user that is supposed to work with tickets need to have some permissions tha we generally grant via group ticket_user whose permissions may be as follows:: Can change Project Can add plan ticket Can list all ticket plans Can list own ticket plans Can list ticket plans Can change plan ticket Can add Ticket Can reopen tickets Can view tickets Can change Ticket Can add ticket attachment Can change ticket attachment Can view ticket projects Can change Project .. automodule:: jmb.ticket.settings :members: