Tychobra / polished

Authentication and Administration for Shiny apps
https://polished.tech
Other
233 stars 36 forks source link

How can I add an hour limit for all users of an app? #215

Open gioneves opened 1 year ago

gioneves commented 1 year ago

I would like to schedule my application to run 30 hours a month for each of my users.

That is, each user could access it for a maximum of 30 hours per month.

Thanks!

cwilligv commented 1 year ago

Hi @gioneves ,

All I can think of is you handling that in a database by keeping track of login and logout time and then assessing whether their quota has been reach or not and putting up a message when the quota is reach.

Cheers.