vertx / io.vertx.rxjava.ext.auth.mongo / MongoAuth / setPermissionField

setPermissionField

open fun setPermissionField(fieldName: String): MongoAuth

Set the name of the field to be used for the permissions. Defaults to io.vertx.rxjava.ext.auth.mongo.MongoAuth. Permissions are expected to be saved as JsonArray

Parameters

fieldName - the name of the field to be used

Return
the current instance itself for fluent calls