@MattFox Well done!
Latest posts made by maurice
-
RE: User Permissions with client list.
Thank you both for walking me through the best practices. I'm still learning the system.
Currently, we've got 1 client that we built a custom dashboard for. Shortly, I expect to install 2 more Mange devices. My goal is for the 3 clients with unrelated Mango devices to be restricted to viewing their own custom dashboards. I've done a small POC and the role restrictions on the central server accomplish the stated goal.
My initial thought was to create a user in the proxy server, but I'd much sooner use the standard Mango network setup and push the data to the central server - being a newbie I just did not realize that was the best practice. I suspect that design would also help me with the development of the custom dashboards as I could develop locally.
I will take a look at the https://help.infiniteautomation.com/configuring-publishers and configure publish the data to the central server. I will probably also be asking more questions on this forum.
Thanks again,
Maurice -
RE: User Permissions with client list.
Hello Matt,
Thank you for the response. In the two different domains, I've created the test user, in both. In the problematic guid.mycompany.mangoautomation.net when I access it - I am not redirected to the login screen of the second one.
Is there a better way to handle client lists? Maybe I could just push the data points from the guid to the primary and then get the user to login there?
Regarding storing the xsrf - I am able to do this on the primary domain but it does not seem to work on the guid one.
Thank you,
Maurice -
RE: User Permissions with client list.
More information -
The autologin format via url parameters work in one case:
But in the case:
I get the error:
Proxy error 401 Not authenticated
-
RE: User Permissions with client list.
A little more information: I went to the tab "AUTH TOKENS"
Within the mydomain.mangoautomation.net - I can create the token.
When I'm in the guid.mydomain.mangoautomation.net domain - I get the following error when I try to create the token. (Note, happens to all the users there).
Failed to create authentication token: Access denied — org.springframework.security.access.AccessDeniedException: Must be authenticated via username and password
-
User Permissions with client list.
Hello all,
I've got two sites within the mango ecosystem.
mydomain.mangoautomation.net
And
guid.mydomain.mangoautomation.net (Which is accessible from the "client list" tab of mydomain.mangoautomation.net )I created a user called "test" in both domains - and gave that person permissions of "user" and "testgroup"
When I log into guid.mydomain.mangoautomation.net after signing in at mydomain.mangoautomation.net I get the following error:
Proxy error 403 'test' does not hold the required role
Ideally, I'd like the user "test" to sign in to mydomain.mangoautomation.net and get redirected to -> guid.mydomain.mangoautomation.net /Custom Page
Thank you.
-
RE: Not connecting to Remote Client.
Hello all,
This issue happens more often than not - and the site is hosted with mangoautomation. Am I better off selfhosting this?
Can someone please let me know why this is occurring, and some pro / cons to self hosting.
Best Regards,
Maurice -
Not connecting to Remote Client.
Hello all,
When accessing domain MYNAME.mangoautomation.net/ui/administration/cloud-connect-clients.
I've got two clients: Previously I've been able to click on the "Open Web Interface" icon
It used to direct me to the URL: GUID.MYNAME.mangoautomation.net/ui/administration/home
Now it directs me to: GUID.ip-172-xx-xx-xx . (IP obfuscate on here)
Any suggestions on why this happened and what to do about it.
Best Regards,
Maurice -
RE: Global script: - cannot get hello world working.
Thank you - the ui settings works.
-
Global script: - cannot get hello world working.
I'm trying to write a directive in the global script and I get this error.
ReferenceError: "app" is not defined at line: 1
This occurs if I write:
console.log("hello")
Or the example in: https://help.infiniteautomation.com/getting-started-with-a-user-module
define(['angular', 'require'], function(angular, require) { 'use strict'; var userModule = angular.module('userModule', ['maUiApp']); userModule.component('myComponent', { bindings: { name: '@?' }, template: '<span>Hello {{$ctrl.name}}</span>' }); return userModule; }); // define```