error/moodle/restore user missing capability
Note: You are currently viewing documentation for Moodle 3.2. Up-to-date documentation for the latest stable version of Moodle is probably available here: error/moodle/restore user missing capability.
This error occurs when you try to restore a course and your role does not have the capability moodle/restore:restorecourse. For example, the default role of Course creator does not have this capability.
An admin can allow the capability for the role in Administration > Site administration > Users > Permissions > Define roles.