$entity_id, 'entity_type' => $vars['entity_type'], 'role_id' => $vars['role_id'], 'access' => $vars['access']), 'roles_entity_permissions' ); } } else { print_error('Error: Invalid Entity.'); } } } // EOF