Wednesday, 10 April 2013

Changing a User’s ExpiryDate from GitHub hosted file

For the cases where TeamMentor UserData is loaded from a GitHub repository, it is possible to change/manage user data directly from GitHub’s web GUI (or from a local clone of that repository).

Lets take for example Danny’s account, which is expired at the moment (today is 4/10/2013):

image

In GitHub, this is the file that contains Danny’s user data:

image

So we open and edit that file:

image

Change the ExpirationDate to a value in 2014

image

Commit the changes:

image

Reload the UserData:

image

And the Danny account details at the server is now set to the new date:

image

This is one of the nice side effects of having the ability to push TM's user data into a Git repository (another advantage is that we now have fully backed-up, logged and hashed user's change-history)