<commit_before>function onRequest(context){
    var userModule = require("/modules/user.js").userModule;
    context.users = userModule.getUsers();
    context.permissions = userModule.getUIPermissions();
    return context;
}<commit_msg>Temporary fix for supper-admin-listing issue<commit_after>function onRequest(context) {
    // var log = new Log("user-listing");
    var userModule = require("/modules/user.js").userModule;
    var allUsers = userModule.getUsers();
    var i, filteredUserList = [];
    for (i = 0; i < allUsers.length; i++) {
        if (String(allUsers[i].username) != "admin") {
            filteredUserList.push(allUsers[i]);
        }
    }
    context.users = filteredUserList;
    context.permissions = userModule.getUIPermissions();
    return context;
}
{'fraction_non_alphanumeric': 0.1377551020408163, 'fraction_numerical': 0.0012755102040816326, 'mean_word_length': 3.6176470588235294, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6991614', 'n_tokens_mistral': 235, 'n_tokens_neox': 229, 'n_words': 46}