Roles defined at the process and stage levels are automatically inherited by an activity. In addition, you can also define roles specific to an activity. Want to know more about roles? See Create Process Roles.
If there are conflicting permissions granted to a user at process, stage, and activity levels, then the permissions granted at the activity level prevail within that activity.
To create a new role at the activity level, see Create Roles for a Stage.