 Roles control the way that users interact with the learning management system in various contexts. The administrator can manage roles via the front page, settings block, site administration, users, permissions, define roles. This page lists the available roles. These are in fact the default roles. We'll look at one of these by way of example. This is the teacher role. Now we can see it's been given a name, a short name, a description, and the context where the role may be assigned. Further down the page we've got listed the capabilities. These are the things that the role may or may not be able to do, and alongside it the permissions that may have been set, set to allow, in fact not set or been prevented. The rightmost column outlines the associated risks if we were to override any of the set permissions on these capabilities. Now it's not in fact recommended that we edit the default roles, but rather copy or clone a default role and edit the capabilities and permissions there. In terms of assigning standard roles globally, we go to site administrators to manage the site administrators. We can add or remove potential or existing users from the list. See there? To assign other system roles we can assign managers or course creators globally. That remains system-wise so anywhere that the assigned users go said capabilities and permissions will follow them throughout all lower contexts. It's no longer possible to assign globally assigned lesser roles via this page. Now commonly what teachers will want to do is assign roles or essentially enroll users at a course level in a course context. So let's go to a course via the settings block, users, enrolled users. We get an overview here of users that are enrolled in this particular course and the role or roles that they've been assigned. If we wish to enroll more users or essentially assign another role, the button that reads role users and we select from the available roles to assign and then enroll the said user for that role. Naturally the user account must first exist before you go about assigning a role in any context. Now it's also possible to override roles and assign roles in lower contexts such as at an activity or a block level.