Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
admin:purging [2017/08/25 08:52] – [Creating a new user license categories] Gary Willettsadmin:purging [2021/10/08 11:14] (current) Gary Willetts
Line 1: Line 1:
-{{indexmenu_n>120}} +{{indexmenu_n>194}} 
-====== License management ====== +====== 25.17. License management ====== 
-On any mSupply server, you purchase concurrent user licenses. These licenses sit in a single pool, to be used by all users who login to that server.+On any mSupply server, you have concurrent user licenses. When a user logs in, they take one of these licenses, when they logout the license is returned. These licenses sit in a single pool, to be used by all users who login to that server.
  
 Sometimes, it can be helpful to split this single pool up into multiple smaller pools. This would be the case when, for example, different organisations use the same server and buy licenses separately for use by their organisations. It is then important that one organisation does not start to use the other's licenses. Sometimes, it can be helpful to split this single pool up into multiple smaller pools. This would be the case when, for example, different organisations use the same server and buy licenses separately for use by their organisations. It is then important that one organisation does not start to use the other's licenses.
  
 To help manage this kind of situation, mSupply has the concept of //user license categories//. Each of these categories has a maximum allowed number of users logged in at the same time. Each time a user logs in, mSupply checks whether they belong to a license category and, if so, whether there is already the maximum number of users for that category logged in. If so, then the user is shown a warning message and not allowed to login, otherwise they are logged in as usual. To help manage this kind of situation, mSupply has the concept of //user license categories//. Each of these categories has a maximum allowed number of users logged in at the same time. Each time a user logs in, mSupply checks whether they belong to a license category and, if so, whether there is already the maximum number of users for that category logged in. If so, then the user is shown a warning message and not allowed to login, otherwise they are logged in as usual.
 +
 +Please note that user license categories are still subject to the concurrent user limit (set by the number of licenses you have purchased), they do not override it. So, if you have 10 concurrent user licenses on your server and you have one or more user license categories with a total maximum number of logged in users set at 20, only 10 users will still be able to log in to your server at any one time. This functionality is not a free way to get yourself extra mSupply licenses, rather it's a way of helping you manage access to the licenses you have purchased!
  
 <WRAP info center round 90%> <WRAP info center round 90%>
Line 48: Line 50:
  
  
 +===== Assigning users to license categories =====
 +To complete the setup you must assign users to the different user license categories you have created.
 +
 +You do this by selecting the user license category the user should belong to in the **License category** drop down list on the General tab of the user's details window. See [[admin:managing_users#the_general_tab|Managing users]] for more details on how to set this.
 +
 +<WRAP important center round 90%>
 +Any users not assigned to a user license category will always be able to login (as long as there is a concurrent user license available in the server's pool). So be careful when using user license categories - leaving many users not assigned to license categories can undermine what you are trying to achieve.
 +</WRAP>
 +
 +Normally, you will assign more users to a user license category than the //maximum number of users logged in// setting for the category. Otherwise, the user license category check on login will have no effect! 
  
-// Previous: [[admin:show_users|Show Connected Users]]     Next: [[admin:printer_installation|Printer Installation]]//+\\ 
 +\\ 
 +|  //  Previous:  **[[admin:show_users]]** | | Next: **[[admin:printer_installation]]** //  |
 ---- struct data ---- ---- struct data ----
 +pagestatus.status    : 
 ---- ----
  
  • Last modified: 2017/08/25 08:52
  • by Gary Willetts