Hello,
I'm wondering how to get current user id if I want to use it in an sql query. Actually I want to set row level permissions: all records belongs to specific "groups" and a user can see only those records, which belong to a group, for which the user have permission (permissions are stored in a table).
So do you know how can I get current user id? And do I need dadabik enterprise/platinum, or pro is also sufficient?
A read this topic: https://dadabik.com/forum/read.php?1,18844
but it seems that check_login.php is now encrypted with ioncube.
Thanks in advance,
Imre
I'm wondering how to get current user id if I want to use it in an sql query. Actually I want to set row level permissions: all records belongs to specific "groups" and a user can see only those records, which belong to a group, for which the user have permission (permissions are stored in a table).
So do you know how can I get current user id? And do I need dadabik enterprise/platinum, or pro is also sufficient?
A read this topic: https://dadabik.com/forum/read.php?1,18844
but it seems that check_login.php is now encrypted with ioncube.
Thanks in advance,
Imre