AutomaticApprovalSettings

API: Internal/Beta

Settings which control if an Application should be automatically approved

data class AutomaticApprovalSettings(
    val from: List<UserCriteria>,
    val maxResources: List<ResourceRequest>,
)

The Application will be automatically approved if the all of the following is true:

  • The requesting user matches any of the criteria in from

  • The user has only requested resources (Application.requestedResources) which are present in maxResources

  • None of the resource requests exceed the numbers specified in maxResources

Properties
from: List<UserCriteria>
maxResources: List<ResourceRequest>