3 Replies Latest reply: Mar 3, 2015 5:13 AM by Andrew Whitfield RSS

    Section access not working

    Laura Sébille

      Hello everyone,

       

      I have an application which contains data about several zones (let's say countries).

       

      I have inserted a section access at the beginning of the script so each user see only the data about the countries he is entitled to see.

       

      section access;

      load * inline [

      ACCESS, USERID,  PASSWORD , country

      ADMIN, ADMIN, ADMIN,

      USER, laura, laura, France

      ];

       

      Section application;

       

      When I reload, save and reopen my application using the laura "account" (I mean user and password laura), I still see the data for every countries...

       

      Instead of the section access, I have tried to just insert a table :

       

      test:

      // section access;

      load * inline [

      ACCESS, USERID,  PASSWORD , country

      ADMIN, ADMIN, ADMIN,

      USER, laura, laura, France

      ];

       

      so I get a new table with the fields access, userid, password and country. And when in my application, I filter on the userid field (on "laura"), the filtering works well (I do see only the information about France).

       

      What is wrong with my section access ?

       

      Thank you for your help

       

      Laura