Owner permissions using group ID

You are using DaDaBIK version 8.3-Lerici enterprise, installed on 06-10-2018 (installation code: 0), the latest version of DaDaBIK is
PHP Version: 5.5.38
mysql version: 5.5.50
Web server: Microsoft-IIS/8.5
Client: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36

Hi Eugenio,

I have a small application where I want to use the user's group ID to restrict access to records. I have set the parameter in config.php as follows - $use_id_group_for_ownership = 1;

I have added a 'user_group' column to the tables I wish to restrict access to in MySQL and have set it as a 'ID_User' type in the Forms Configurator. The value is getting updated correctly with the user's group ID when I add new records to the tables.

However, all users can still see all records.

Can you advise what I may have done wrong please?

Many thanks,

Peter
 
Top