I just mimicked what was already there.


On Tue, Jun 4, 2013 at 3:34 PM, Richard Brandon <notifications@github.com>wrote:

> In openscholar/openscholar.install:
>
> > @@ -90,6 +90,7 @@ function openscholar_install() {
> >    // Allow accessing resource node to all users.
> >    foreach (array(DRUPAL_ANONYMOUS_RID, DRUPAL_AUTHENTICATED_RID) as $rid) {
> >      user_role_grant_permissions($rid, array('access resource node'));
> > +    user_role_grant_permissions($rid, array('access resource file'));
>
> why do this in openscholar.install instead of via features?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/openscholar/openscholar/pull/2923/files#r4531149>
> .
>