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/nopermissions.
This is a general error that indicates the current user account does not have permission to do what you were attempting.
This is part of the new Roles framework in Moodle 1.7. If you believe that your roles for that user DO allow that action you were attempting, then you may have found a bug. Congratulations! Please help us by creating a new issue at http://tracker.moodle.org/browse/MDL