This project is read-only.

subscription policy and concurrent users

Topics: Customizing Orchard
Jun 10, 2014 at 9:45 PM
Looking for some pointers as I am not sure how to go about implementing.

Our subscription model is by seat count concurrency, so our clients can purchase 5 seats yet have 100 registered users. We block content when user count has reached seat capacity. Our current web application denies login when seat count reaches capacity.

We would prefer not not block login but instead block access to site features by seat capacity thus allowing users to do such things as change their profile or perhaps we can open up alternate activities not regulated by seat count... etc.

The site is a multi-client single tenant, so user counts will be filtered by client subscription and a user will be part of a single subscription.

So some how, when a user accesses a url or url group, I need to increment that subscriptions count, when they leave that url or group decrease it, if a user attempts to access that url/group and capacity has been reached the user should be redirected with a message. seems like a logical starting point unless anyone can point me in a different direction.