django-helpdesk icon indicating copy to clipboard operation
django-helpdesk copied to clipboard

How can I prevent the editing of the ticket for active users?

Open 5sherlost opened this issue 7 years ago • 3 comments

HELPDESK_SHOW_EDIT_BUTTON_FOLLOW_UP = False, and another commands don't work. How can I prevent the editing of the ticket for active users? I need to make editing possible only for superuser and my chosen users.

5sherlost avatar Oct 10 '17 12:10 5sherlost

Hmm, as far as I know HELPDESK_SHOW_EDIT_BUTTON_FOLLOW_UP = False should work to prevent it from being displayed to any user. Let me investigate. Or feel free to send a PR!

The permissions for users are a bit of a known problem and need an overhaul, so it is possible what you're asking may not quite be possible. I'm planning to take a look at permissions for the next release.

gwasser avatar Oct 10 '17 20:10 gwasser

Oh i see you mean editing the ticket itself (description, etc.) and not follow ups, that's why that setting doesn't change anything. This would be a new feature once permissions are worked out.

gwasser avatar Dec 28 '18 10:12 gwasser

So basically an option that disables the user to edit/reply the ticket after the creation.

It is something that we want to extend like, after closing it is not possible to reply? Or similar things?

Mte90 avatar Jul 29 '22 13:07 Mte90

Try setting HELPDESK_ALLOW_NON_STAFF_TICKET_UPDATE to False https://github.com/django-helpdesk/django-helpdesk/blob/761b91d2fe55d42ff767b8dc617925425f27fa6f/helpdesk/views/staff.py#L504

timthelion avatar Nov 26 '23 14:11 timthelion