-
Notifications
You must be signed in to change notification settings - Fork 32
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
Manage course page not accessible anymore #198
Comments
Hey @PhMemmel long time no seen ;) |
Hi @NinaHerrmann, nice to hear from you :) And yes... just getting right back at tool_lifecycle... beware... ;-) I agree that caching the entry for each user feels a bit overengineered. On the other hand running a very big instance I would be happy if this could be implemented in a way which generates minimum load considering that this is being done on each single course view. To be honest the only solution I see is to always show the navigation node without any condition applied (except capability). Yes, the UX suffers a bit from that, but I do not consider this as a real problem. Just my two cents... |
😂 - I will try my best to keep up with you :) I think the most important scenario is when the plugin is installed but not yet active in the sense that workflows are started (or in case the workflow is only used for a selection of course categories). However, another option to combine both would be to add a setting, allowing smaller sites to have consistent behavior and bigger Moodle instances to disable it in case it affects the performance. Even simpler would be to make the conditional clause check if there are any manual workflows or automatic workflows (ignoring if the course or any course might be triggered). |
All the suggestions are fine for me, thanks :) |
The latest commit removes the link from the course secondary navigation in the case that there are no workflows with manual triggers. Unfortunately, that also removes the possibility for the user to access this page when he has to deal with active workflows including interactive steps. I think this use case should be considered as well :)
The text was updated successfully, but these errors were encountered: