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