Skip to main content

createRoleToPermissionIfNotExist

createRoleToPermissionIfNotExist(roleId, permissionIds): Promise<void>

Create role to permission if it doesn't exist.

Parameters

roleId

string

The Id of the role.

permissionIds

string[]

The Ids of the permissions.

Returns

Promise<void>