django-rq
django-rq copied to clipboard
Admin link control is only configurable via system setting
Currently, the only way to show or hide the admin link is to set RQ_SHOW_ADMIN_LINK = True in the system settings for your django server. Unfortunately, unless there are some knobs and dials I haven't found, that only shows it for all users that can access the admin site or absolutely none of them. Setting a link directly to the queues is workable at the very least, which is nice. That still presents a situation where users that I don't want to have access to the queue now have access to the queue.
What would be preferable would be access to be controlled via permissions so I can easily dictate who has access to what resources on the admin site like just about any other app.
Yes, having a permission to view Django-RQ pages would be nice. A PR for this is welcome :)
#512 adds custom permissions to the admin views