openanalytics / shinyproxy

ShinyProxy - Open Source Enterprise Deployment for Shiny and data science apps
https://www.shinyproxy.io
Apache License 2.0
525 stars 151 forks source link

Invalid Groups-Expression in Web Service #507

Open flash0926 opened 5 months ago

flash0926 commented 5 months ago

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 users without permissions receive a prompt when they click on an app? ShinyProxy version 3.1.1 image image image

MohamedAnouar commented 5 months ago

Hello, to restrict an application access to a specific group, you need to use the attributes "access-groups" and not "groups". https://www.shinyproxy.io/documentation/configuration/#common-properties

flash0926 commented 5 months ago

nice!