'Return the default user role for this database.'

def _default_role(self, read_only):

    if (self.name == 'admin'):
        if read_only:
            return 'readAnyDatabase'
        else:
            return 'root'
    elif read_only:
        return 'read'
    else:
        return 'dbOwner'
