We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8537
    • 26 Posts
    Hello,

    I'm moving from Ditto to DocLister and I can't find the right syntax to the DocLister snippet private filter.
    I'd like to list only the documents in the ressource group that a logged in user has access to.

    For example :
    user eric is in users group group1
    group1 has access to ressource group res1

    doc1 is in res1
    doc2 is in res1
    doc3 is in res2

    I want to list only doc1 and doc2 for user eric and NOT doc3

    With Ditto, it seems that this was a kind default output.
    With DocLister, it seems that the &filters parameter needs to be used like &filters=`private:???:???:???` but I can't find documentation on private filter ...

    Can someone help me ?

    Thank you in advance

    Eric

    This question has been answered by iusemodx. See the first response.

    • discuss.answer
      • 13226
      • 953 Posts
      Hi Eric

      Please post your question in GitHub

      Cheers
        • 8537
        • 26 Posts
        Quote from: iusemodx at Dec 19, 2018, 10:14 AM
        Hi Eric

        Please post your question in GitHub

        Cheers

        Thank you very much, the answer is there !