That seems like it would work.

If you have lots of infrequent users, it could be wasteful to be resetting all users’ download quota monthly. Consider instead saving user’s last download date. Then, you can enable the download action only when Current User's download_quota < 10 or Current User's last_download < Current Date change date to 1 rounded down to date.

1 Like