shell: Role checks on the dashboard.

To prevent non-admins from doing things that wont work for them.

Fixes #1248