Regarding questionnaire, we need to check capability before display 'edit' option and also need to check capability using require_capability function before enable the edit mode.
General developer forum
Where should I check capabilities?
This discussion has been locked so you can no longer reply to it.