More permissions

fixed, thanks


On Sat, Jul 19, 2014 at 6:06 PM, Richard D. Bartlett <
notifications@github.com> wrote:

> In app/models/ability.rb:
>
> > @@ -68,14 +65,23 @@ def initialize(user)
> >        (group.members_can_add_members? && user_is_member_of?(group.id)) || user_is_admin_of?(group.id)
> >      end
> >
> > +    # please note that I don't like this duplication either.
> > +    # add_subgroup checks against a parent group
> > +    can [:add_subgroup], Group do |group|
> > +      gropu.is_parent? &&
>
> spelling: gropu
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/loomio/loomio/pull/1573/files#r15142191>.
>