Capabilities/block/template:edit
From MoodleDocs
This allows a user to edit templates.
This capability is allowed for the default administrator role.
Note: You are currently viewing documentation for Moodle 2.2. Up-to-date documentation for the latest stable version is available here: Capabilities/block/template:edit.