You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to give access to a npm package I have built to various users
I would like to limit the access based on an expiration logic, on a per-user basis - something like, "you have access for 12 months from now on, afterwards your access expires" (where "12 months" is just an arbitrary timespan of course)
Now, when it comes to the phrasing "your access expires", I imagine these 3 possible scenarios:
After those 12 months, the user cannot access my npm package at all
After those 12 months, the user cannot access any new versions of my npm package that will be released afterwards, but he/she still can access the versions released before the expiration date
Maybe limit the access on a version range basis, for example: the major version of the package that the user could access was ^3.0.0, so he/she will still be able to access minor- and patch-updates even after access expiration. Let's say 3.2.1. was released and the user's access expires. The day after he would still be able to access a newly released version 3.3.0 etc. But in case a version ^4.0.0 will be released, access will not be possible to those versions.
Are any of those scenarios currently possible with Verdaccio?
If no, would anybody be willing to work with me on those topics? I would be eager to help extending its capabilities.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
What I need to achieve is the following:
Now, when it comes to the phrasing "your access expires", I imagine these 3 possible scenarios:
Are any of those scenarios currently possible with Verdaccio?
If no, would anybody be willing to work with me on those topics? I would be eager to help extending its capabilities.
Beta Was this translation helpful? Give feedback.
All reactions