addTempAdmin

open override fun addTempAdmin(addressPattern: String, duration: Duration)

Temporarily adds a user to the admin list using a pattern algorithm defined by the AccessManager implementation. While active, getAccess should return ACCESS_ADMIN.

Parameters

addressPattern

A pattern to match to an address

minutes

Number of minutes this grant is valid from the time of addition