• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Public User DGlux Creation

    MangoES Hardware
    2
    10
    3.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      logicaltools
      last edited by

      Hi,

      my customer needs to view a DGLux page created by me on their MangoES. I followed the instruction as described into "dglux-login-options-and-making-a-dashboard-public" point 3. This is my "dglux.properties" content:

      publicUser.username=public
      publicUser.password=password
      publicUser.email=

      I have create a public.nav like described in the video of the page and this is the content:

      <nav version="1.0">
      <node name="Home" ord="dglux:" icon="file:!packs/icons/d/document-globe.png">
      <node name="Home" ord="" icon="file:!packs/icons/d/document-globe.png">
      <node name="test.dgml" icon="file:!packs/icons/d/document.png" ord="file:!dgml/test.dgml"/>
      <node name="Uniflare.dgml" icon="file:!packs/icons/d/document.png" ord="file:!dgml/Uniflare.dgml" default="true"/>
      </node>
      </node>
      </nav>

      The first problem is that when I try to access to DGlux by http://<MY_URL>/dglux/login.htm I can see the login page but my "public" user credentials are ignored (the answer is "Invalid Login") but if I try to access with Admin credentials it works (obviously).

      Where I wrong ?. The public.nav was correctly generated?

      Thanks for your help.

      1 Reply Last reply Reply Quote 0
      • JoelHaggarJ
        JoelHaggar
        last edited by

        You need to also create the "public" user in Mango and give permissions to any data points that are used in the dashboard. You'll also need to add the email address of the user into the dglux.properties file as well.

        1 Reply Last reply Reply Quote 0
        • L
          logicaltools
          last edited by

          Hi Joel,

          yes, I had already created the user "public" in DGLux before to try the access.

          0_1485364434947_2017-01-25_181331.jpg

          Perhaps something is missing?

          I tryed to add the email address for the public user but nothing changes ...

          Thanks

          1 Reply Last reply Reply Quote 0
          • JoelHaggarJ
            JoelHaggar
            last edited by

            Can you log into the regular Mango Login page with the public user?

            1 Reply Last reply Reply Quote 0
            • L
              logicaltools
              last edited by

              No, I can't log into the regular Mango Login page (Invalid login is the answer).

              1 Reply Last reply Reply Quote 0
              • JoelHaggarJ
                JoelHaggar
                last edited by

                That's your problem. This is what I mean by make sure your public user is in Mango. In Mango go to the users page and create the public user. When you make a dashboard public it is just auto logging in as the user you put in the deluxe.properties file so you still need to have the user all set up with the right permissions to view data in Mango just like any other user.

                1 Reply Last reply Reply Quote 0
                • L
                  logicaltools
                  last edited by

                  Hi Joel,

                  the problem was in Mango. I didn't create the user "public" in Mango but only in DGLux. Now it works fine!

                  Thanks

                  Fabio

                  1 Reply Last reply Reply Quote 0
                  • L
                    logicaltools
                    last edited by

                    Hi Joel,

                    now we still have a little problem. Take a look of the following screenshoots: the first ( Chrome ) is with the admin access and the second ( Mozilla ) with the "public" access. Could be some library missing?
                    0_1485368581951_2017-01-25_191644.jpg
                    0_1485368551157_2017-01-25_191407.jpg

                    1 Reply Last reply Reply Quote 0
                    • JoelHaggarJ
                      JoelHaggar
                      last edited by

                      Admins have access to view all data by default but non-admin users need to be given permissions to view specific data points. Please see: http://help.infiniteautomation.com/support/solutions/articles/14000022516-users-permissions

                      1 Reply Last reply Reply Quote 0
                      • L
                        logicaltools
                        last edited by

                        Yes. Now it's OK! Your link is really valuable!

                        Thanks again!

                        Fabio

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post