Use capability instead of role

role is deprecated, this removes the deprecated notice when debug mode is on
Merge pull request #1 from billerickson/patch-1

Use capability instead of role