suspend fun createDefaultPermission(user: GropiusUser, component: Component)

Creates the default ComponentPermission The created permission grants ADMIN and READ only to the provided user Does not check permissions or save the created permission / component

Parameters

user

the user who is granted the permission

component

used to add the permission to