Currently question_has_capability_on is a bit misleading, since it currently handle too many cases, for example question id as integer, question object that might not contain the question id and a question object just with the context id and createdby attributes.
dobedobedoh suggested deprecated that method and split into two new functions one to handle question and other just for the context which ideally could simply receive the context as instance or id.
- Testing discovered
-
MDL-61364 Update tag modal to allow managing of question and course context level tag instances
-
- Closed
-