Cleaning up old functions for loading user rights that were missed in the previous cleaning. close #295