7 Replies Latest reply: Aug 27, 2015 1:42 PM by Bill Britt RSS

    Section Access

      Hi All,

       

      I've been trying to implement section access in my application but have found an issue I couldn't resolve.

       

      I've got two scripts I'm playing with. The first one below works perfectly fine:

       

      LOAD * inline [
      ID
      1A
      1B
      1C
      ];

      Section Access;
      LOAD * inline [
      ACCESS,  NTNAME, ID
      USER, name1, 1A
      USER, name2, 1A
      USER, name2, 1B
      ]
      ;
      Section Application;

       

      I have checked "initial selection based on section access" in document properties.

      With this, when I log in as user 2, I see 1A and 1B and don't see 1C which is great.

       

      Try something different:



      LOAD * inline [
      ID
      1Aus
      1Bus
      1Cus
      ];

      Section Access;
      LOAD * inline [
      ACCESS,  NTNAME, ID
      USER, name1, 1Aus
      USER, name2, 1Aus
      USER, name2, 1Bus
      ]
      ;
      Section Application;

       

      And section access doesn't work. I didn't think there would be any difference in the two examples but I'm getting different behaviour.

      Thanks a lot