-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more mod actions (always set status, depublish attachments) #865
base: main
Are you sure you want to change the base?
Conversation
pajowu
commented
Oct 8, 2024
- 🚸 Always allow mods to change request status
- ✨ Allow mods to depublish attachments
33e3574
to
9f9e612
Compare
The |
9f9e612
to
bbc28f1
Compare
Click fires before the value is changed, which leads to weird behaviour
bbc28f1
to
632f900
Compare
Not quite sure if I understand correctly. The |
Yes exactly. In this case, the tasks just does nothing. If someone creates a document from an attachment and then shortly after that depublishes the attachment (while the document is still processing), the |
Ah, I see. Maybe we could use Celery's task linking to run the publishing/depublishing task after the processing task (if a processing task exists)? |
Task linking could be an option, would be the first of that in the code base. Another option could be a signal from |