Creates a PermissionConfig from event settings. This is useful when permissionConfig is not yet set, extracting initial values from the room's event settings. Both level0 and level1 will have the same initial permissions.
'allow' | 'approval' | 'disallow'
'allow' | 'disallow'
PermissionConfig with both levels set to the same permissions
Creates a PermissionConfig from event settings. This is useful when permissionConfig is not yet set, extracting initial values from the room's event settings. Both level0 and level1 will have the same initial permissions.