I followed the official tutorial to prepare the configuration and deployed a Flask application for web verification. The web returns the JSON response as per the official tutorial. However, the application does not behave as expected and does not only display the apps that the current user has permissions for, but instead shows all the apps.
Alternatively, is there a plan to make it so that all apps are displayed to all users, but only those with permissions can run the apps, and those without permissions receive a prompt?
This my yaml.
`
proxy:
title: MyShinyProxy
logo-url: https://www.openanalytics.eu/shinyproxy/logo.png
template-path: ./templates/2col
port: 8080
authentication: webservice
webservice:
authentication-url: http://127.0.0.1:5000/login_auth
authentication-request-body: '{"username": "%s", "password": "%s"}'
groups-expression: "#{json.get('data').get('groups')}"
admin-groups: admins
users:
name: jack
password: password
groups: admins
name: jeff
password: password
groups: scientists
specs:
I followed the official tutorial to prepare the configuration and deployed a Flask application for web verification. The web returns the JSON response as per the official tutorial. However, the application does not behave as expected and does not only display the apps that the current user has permissions for, but instead shows all the apps. Alternatively, is there a plan to make it so that all apps are displayed to all users, but only those with permissions can run the apps, and those without permissions receive a prompt? This my yaml. ` proxy: title: MyShinyProxy logo-url: https://www.openanalytics.eu/shinyproxy/logo.png template-path: ./templates/2col port: 8080 authentication: webservice webservice: authentication-url: http://127.0.0.1:5000/login_auth authentication-request-body: '{"username": "%s", "password": "%s"}' groups-expression: "#{json.get('data').get('groups')}"
admin-groups: admins
users:
Use the following line when using ShinyProxy 2.6.0 or later
WWW_ROOT_PATH: "#{proxy.getRuntimeValue('SHINYPROXY_PUBLIC_PATH')}"
Use the following line when using ShinyProxy 2.5.0
WWW_ROOT_PATH: "#{proxySpec.containerSpecs[0].env.get('SHINYPROXY_PUBLIC_PATH')}"
port: 8787
container-volumes: [ "/tmp/#{proxy.userId}:/home/#{proxy.userId}" ]
container-volumes: [ "/tmp/#{proxy.userId}/app/RStudio:/home/#{proxy.userId}" ] groups: mathematicians
logging: file: shinyproxy.log `