toggleRoleExcluded

fun toggleRoleExcluded(role: Config.DeviceConfig.Role)(source)

Toggles by name rather than through decodeExcludedRoles, which drops names the current protobufs do not define. Decoding and re-encoding here would discard a role excluded by a newer build on every toggle.