> Your auth_user_field is the same field number for both databases, right?
Yes, 0.
> Do you have $auth_view_own = 1; set in your .cfg file?
Yes, in both databases.
I've tried adding
$rec{$db_key} =~ s/<.?B>//g;
but didn't work.
If I modify this:
$in{'Identificador'} = "jpdeni";
it nearly works as if I had the fields in the wrong order: user jpdeni sees it's own products, the rest of the users can't see any of their products (normal, as the userid is fixed) and the admin sees that everyuser owns the products of jpdeni.
OK, now it nearly works putting the fields in the correct order and specifying the username.
Yes, 0.
> Do you have $auth_view_own = 1; set in your .cfg file?
Yes, in both databases.
I've tried adding
$rec{$db_key} =~ s/<.?B>//g;
but didn't work.
If I modify this:
$in{'Identificador'} = "jpdeni";
it nearly works as if I had the fields in the wrong order: user jpdeni sees it's own products, the rest of the users can't see any of their products (normal, as the userid is fixed) and the admin sees that everyuser owns the products of jpdeni.
OK, now it nearly works putting the fields in the correct order and specifying the username.