jstests/concurrency/fsm_workloads/auth_role_consistency.js
// Initial empty A/B roles.
Initial empty A/B roles.
Initial empty A / B roles .
function init(db, collName) {
            roleA += this.tid;
            roleB += this.tid;
            roleAwDB = {role: roleA, db: db.getName()};
            roleBwDB = {role: roleB, db: db.getName()};
            db.createRole({role: roleA, privileges: [], roles: []});
            db.createRole({role: roleB, privileges: [], roles: []});
        }
function init ( db , collName ) { roleA += this . tid ; roleB += this . tid ; roleAwDB = { role : roleA , db : db . getName ( ) } ; roleBwDB = { role : roleB , db : db . getName ( ) } ; db . createRole ( { role : roleA , privileges : [ ] , roles : [ ] } ) ; db . createRole ( { role : roleB , privileges : [ ] , roles : [ ] } ) ; }
Initial empty A/B roles.
Initial empty A / B roles .