mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-09 08:05:13 +02:00
creation of Permission-per-Queue is done always
This commit is contained in:
@ -3,11 +3,14 @@
|
||||
scripts/create_queue_permissions.py -
|
||||
Create automatically permissions for all Queues.
|
||||
|
||||
This is typically used when some queues are created before using the flag
|
||||
HELPDESK_ENABLE_PER_QUEUE_PERMISSION, and then Permissions must be added.
|
||||
This is rarely needed. However, one use case is the scenario where the
|
||||
slugs of the Queues have been changed, and thus the Permission should be
|
||||
recreated according to the new slugs.
|
||||
|
||||
No cleanup of permissions is performed.
|
||||
|
||||
It should be safe to call this script multiple times or with partial
|
||||
permissions.
|
||||
existing permissions.
|
||||
"""
|
||||
|
||||
from optparse import make_option
|
||||
|
Reference in New Issue
Block a user