EmonCMS account with read-only rights ?

Hi,

On my EmonCMS server, I would like to allow people to create account with read-only rights linked to my account.

I mean giving them the possibility to :

   - see my inputs and my feeds

   - use my feeds to create visualizations and dashboard

   - use EmoCMS modules (event openBEM, ...) with my feeds

Obviously, they could'nt modifiy my input and my feeds.

 

Is it possible or planned to be able to create such account ?

Thank's

Eric

 

pb66's picture

Re: EmonCMS account with read-only rights ?

+1

Is this possible I would like to give select people access to view dashboards etc without making everything public.

Eric_AMANN's picture

Re: EmonCMS account with read-only rights ?

Hi

I have no time to develop this feature in the coming days but I really need it now.

So, here is what I did :

- I commented the following lines in emoncms/Modules/input/Views/input_node.php

'edit-action':{'title':'', 'type':"edit"},
'delete-action':{'title':'', 'type':"delete"},
'view-action':{'title':'', 'type':"iconlink", 'link':path+"input/process/list.html?inputid=", 'icon':'icon-wrench'}

- I commented the following lines in emoncms/Modules/input/Views/input_node.php

'edit-action':{'title':'', 'type':"edit"},
'delete-action':{'title':'', 'type':"delete"},
'view-action':{'title':'', 'type':"iconlink", 'link':path+"vis/auto?feedid="

- I gave my account/passwd to some trusted people in order to make them be able to create visualizations and dashboards with my feeds.

I know it's dirty... Shame on me !

 

In my opinion, it must not be very difficult to develop this feature in a cleaner and safer way. It may need a new column in the users database table to mention the user Id whose feeds would be usable for visualization and dashboard creation. Could somebody confirm that point ?

 

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.