Hello
We want to set up a multi user emoncms platform with different privileges.
We provide a large number of emonTX nodes for a special industrial application. We resell the emonTX nodes to partners and distributors (lets say over the channel) and they sell it to the end customer. We forecast a couple of hundreds or may be thousands. We want to manage all these end customers over one emoncms admin login. We want to run some analytics afterwards on all these data.
The partner will have access to emoncms too. The installation of emonTX at the end customer will be done by the partner. He needs just to enter the Node ID number over our customized emonTX (we have a LCD + Keypad on it).
For logistic reasons we think that all emonTX's over all customers will have the same API key. We can set up many emonTX with the same API and production will be easy. So we don’t need to let the partner to enter the very long API key to prevent entry mistakes and many support cases.
Each individual customer has access on emoncms as well. They need to have access to define their dashboard and view them. But they don’t have access to modify all other features of emoncms.
So I summarize it:
- End customer: multiuser/several independent customers who can login onto our emoncms server. The should have access only to the dashboard- read and write. All other views are not visible to them
- Partner: partners should have access to emoncms. The should have access only to the dashboard- read only and only to their customers they sold emonTX.
- Admin Access: One admin account for all customers.
Is it possible to do that? Is our concept ok or do you have an other proposal?
Many thanks for answers
Re: multiuser - 3 tier emoncms application
Great idea, but as I just startet learning emoncms I can't ad anything than my +1 to your idea...
Re: multiuser - 3 tier emoncms application
That was brilliant idea so Brisco where did it reach. We want to see that it's done because now the emoncms architecture is almost flat no user stratification and privileges.
Re: multiuser - 3 tier emoncms application
I think this would be a great addition it has come up many times but unfortunately no dice!
Heres another recent enquiry http://openenergymonitor.org/emon/node/10163#comment-28337
and here is a similar request http://openenergymonitor.org/emon/node/3574
Paul
Re: multiuser - 3 tier emoncms application
>>For logistic reasons we think that all emonTX's over all customers will have the same API key. We can set up many emonTX with the same API and production will be easy. So we don’t need to let the partner to enter the very long API key to prevent entry mistakes and many support cases.
That sounds like a bad idea to me. SOOOO many nasty things happen when keys are shared in ventures with many people.
Re: multiuser - 3 tier emoncms application
That sounds like a bad idea to me. SOOOO many nasty things happen when keys are shared in ventures with many people.
Got to agree with that As a friend used to say, "That's an accident looking for a place to happen."
Re: multiuser - 3 tier emoncms application
You are both right! Sharing api-keys is never a good idea. None the less multi-level users is a very good idea.
This suggestion isn't a million miles away from the "shared production encryption key" suggestion during recent RF network discussions. Rather than users being tempted to share keys it would be far better to provide an alternative secure method.
Paul