Let's learn how to manage permissions for existing roles in Moodle.
It is possible to duplicate an existing role in Moodle. The main reasons for doing this will be so that you can have a variation of the existing role, such as a teacher, but with the role having reduced capabilities. For instance, to stop a teacher being able to add or remove students to the course, this process will be achieved by creating a course editing role, which is a clone of the standard editingteacher
role with enrolment aspects removed. This is typically done when students are added to courses centrally with a student management system.
To duplicate a role, in this case editing teacher: