All,
As we all know there is an issue with the SC security security, where it will only give permission on only one group.
You cannot add a user to multiple groups.
I have been working this issue all day, and I thought I had it fixed…
But for some reason, it is not working…
Can someone take a look at the login app and see what I may be missing?
I know the sql is generating the right dataset…
here is the sql I am using to get the results…
$sql = "SELECT
app_name,
ifnull(max(priv_access), 'N') as priv_access,
ifnull(max(priv_insert),'N') as priv_insert,
ifnull(max(priv_delete),'N') as priv_delete,
ifnull(max(priv_update),'N') as priv_update,
ifnull(max(priv_export),'N') as priv_export,
ifnull(max(priv_print),'N') as priv_print
FROM news_sec_groups_apps
WHERE group_id IN
(SELECT
group_id
FROM
news_sec_users_groups
WHERE
login = '". [usr_login] ."') group by app_name";
If I echo the sc_apl_conf the results say that the available ones are on, and the denied access are off…
I see there is a function being called but cant see why it would make this not work;
here is the code in the php section of the login program
return ($param == 'Y' ? 'on' : 'off');
to be honest I dont know what this is doing…
Come on Guys lets gets this issue fixed once and for all
kev