I have a partially finished Perspective project and I would like to show it to the users.
I added them on the users on the gateway with their username and password.
What should I send them for them to see the project?
Should I send them the ip of the project when I launch it?
In the view I got table data filtered by zone with checkboxes,
the permision logic is for some people can see all the zones 0,1,2,3,4,5,6 , some people just one and some people some.
the checkboxes work the way you taught me on custom.zonaFilters with Expression Structure
selected_levels = []
if value['listZona_1']:
selected_levels.append('01')
if value['listZona_2']:
selected_levels.append('02')
if value['listZona_3']:
selected_levels.append('03')
if value['listZona_4']:
selected_levels.append('04')
if value['listZona_5']:
selected_levels.append('05')
if value['listZona_6']:
selected_levels.append('06')
zona_filter_str = ','.join(selected_levels)
return zona_filter_str if selected_levels else None
I guess I have to put some logic to diable the checkboxes the user can´t check for filtering.