UpdateUserPermissionsData

data class UpdateUserPermissionsData(val userId: String, val grantedPermissions: List<String>? = null, val revokedPermissions: List<String>? = null)

Represents the data used to request user permission updates.

Parameters

userId

The ID of the user to change permissions.

grantedPermissions

Permissions which the user should be granted.

revokedPermissions

Permissions which we should revoke for the user.

Constructors

Link copied to clipboard
constructor(userId: String, grantedPermissions: List<String>? = null, revokedPermissions: List<String>? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Inherited functions

Link copied to clipboard

Maps the data to the request for the BE.