Capabilities/block/template:edit
From MoodleDocs
This allows a user to edit templates.
This capability is allowed for the default administrator role.
This allows a user to edit templates.
This capability is allowed for the default administrator role.