Verifying current user group admin role directly instead of through
authorThomas Kjeldahl Nilsson <thomas@kjeldahlnilsson.net>
Fri, 18 May 2012 10:54:15 +0000 (12:54 +0200)
committerMarius Mathiesen <marius@gitorious.org>
Mon, 8 Oct 2012 07:41:28 +0000 (09:41 +0200)
commit4a9d14527cb4cebdf374d48e0ec968bfd56163ba
tree0dc72a2b5b7d33d7daa9405ee48092eddcbac00f
parent04a46ec000219c2196a01f810aceedbbcc960db2
Verifying current user group admin role directly instead of through
auth fw.

Hitting the admin?(user, group) method in our Autorization framework
breaks in development mode due to problem reloading the
DatabaseAuthorization module. Working around this for now since we
don't currently need to hit ldap/database auth strategies for
determining group adminship.
app/helpers/groups_helper.rb
app/views/groups/show.html.erb