type

Deprecated

Use permissionType instead.

Replace with

permissionType.value