hamishcampbell / silverstripe-auth-external

SilverStripe External Authentication Module
13 stars 21 forks source link

canEdit($member = null) #12

Open normann opened 11 years ago

normann commented 11 years ago

in ExternalAuthenticatedRole::canEdit($member = null) function, the $member has been reassigned to current member without condition, also use hardcoded group name "Administrators" to check if $member is an admin, this is wrong in case the "Administrators" name is changed to something else.