Add pretender for impersonating users.
Checking role for certain pages on person profile page.
Adding permission check for department profile pages.
Combining groups and departments tab into memberships.
I am also only showing this tab if the person is in either a department or a group.
Updated group page with the same permission checks.
You're right, this is already happening with Pundit.
Made fixes from Adam's comments
Merge pull request #83 from biola/review_permissions

Review permissions
Merge branch 'master' into sorting

* master:
  Made fixes from Adam's comments
  You're right, this is already happening with Pundit.
  Updated group page with the same permission checks.
  Combining groups and departments tab into memberships. I am also only showing this tab if the person is in either a department or a group.
  Adding permission check for department profile pages.
  Checking role for certain pages on person profile page.
  Add pretender for impersonating users.