shinyproxy icon indicating copy to clipboard operation
shinyproxy copied to clipboard

Invalid Groups-Expression in Web Service

Open flash0926 opened this issue 1 year ago • 2 comments

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

flash0926 avatar Jun 22 '24 13:06 flash0926

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

MohamedAnouar avatar Jun 23 '24 15:06 MohamedAnouar

nice!

flash0926 avatar Jun 25 '24 05:06 flash0926

Hi

I believe this issue has been solved or has become outdated, therefore I'm going to close it. If you still experience this problem, feel free to re-open the issue. As always, any other issue or suggestion is welcome as well!

LEDfan avatar Jul 08 '25 07:07 LEDfan