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

    I want to built a website + each customer should have access to its own page (only web access not manager access. I just want my customer to read its own page).

    Customer A sees Page A but not Page B
    Customer B sees Page B but not Page A

    I set a Role called Customer (9000)

    I set 2 user groupes called GroupA and GroupB
    I attach to GroupA, Customer A
    I attach to GroupB, Customer B

    I set 2 ressource groups called RessourceA and RessourceB
    I attach to RessourceA, the doc I want user A to see (let's docA)
    I attach to RessourceB, the doc I want user B to see (let's docB)

    For GroupA
    on Context Tab I have :
    web - Customer 9000 - Load, list and view
    on Ressource groupe tab :
    RessourceA - Customer 9000 - ResourceClients - web
    where ResourceClients is a resource template policy with load, list and view

    For GroupB
    on Context Tab I have :
    web - Customer 9000 - Load, list and view
    on Ressource groupe tab :
    RessourceB - Customer 9000 - ResourceClients - web
    where ResourceClients is a resource policy from resource template with load, list and view

    When no user is logged
    We can't see pageA (i mean we redirected to page 1 = error page) but can see docB
    When user A is logged
    he sees both pages
    When user B is logged
    he sees his page (docB) but not docA (that's good)

    I might miss something... Results are weird :/
    Anyone sees something I don't see ?

    Thank you smiley

    PS : On Revo 2.2.4-pl
      • 10208 ☆ A M B ☆
      • 1,780 Posts
        Frogabog- MODX Websites in Portland Oregon
        "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
        Having server issues? These guys have MODX Hosting perfected - SkyToaster
        • 3749
        • 24,544 Posts
        That all looks right to me, but maybe I'm missing something. Are you checking from a separate browser where you're not logged into the Manager? When you're logged in to the Manager previewing the front end or looking from another session in the same browser will give you weird results.

        Also, did you flush permissions and flush all sessions on the Security menu before testing?


        ------------------------------------------------------------------------------------------
        PLEASE, PLEASE specify the version of MODX you are using.
        MODX info for everyone: http://bobsguides.com/modx.html
          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting
          • 23050
          • 1,842 Posts
          Hello Bob,

          I'm confused, it works now... I'm connected to manager on Firefox but run my test on Safari. Today, it works perfect... I even create client C with document C and it also works !

          It might be a problem with caching I guess !

          Sorry to having bothered you with that and thanks for your tutorial I've read and used to built that permission set smiley
            • 3749
            • 24,544 Posts
            I'm glad you got it working. Thanks for reporting back. wink



            ------------------------------------------------------------------------------------------
            PLEASE, PLEASE specify the version of MODX you are using.
            MODX info for everyone: http://bobsguides.com/modx.html
              Did I help you? Buy me a beer
              Get my Book: MODX:The Official Guide
              MODX info for everyone: http://bobsguides.com/modx.html
              My MODX Extras
              Bob's Guides is now hosted at A2 MODX Hosting