ccheng %!s(int64=13) %!d(string=hai) anos
pai
achega
3b01863505
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tripal_feature/tripal_feature.module

+ 1 - 1
tripal_feature/tripal_feature.module

@@ -135,7 +135,7 @@ function chado_feature_access($op, $node, $account) {
       }
    }
    if ($op == 'view') {
-      if (user_access('access chado_feature content', $account)) {
+      if (user_access('access chado_feature content', $account) && tripal_check_permission_by_node_id($node->nid)) {
          return TRUE;
       }
    }