scripts: access-portal: Fix incorrect bitmask checking for media roles
In Lua, 0
is a truthy value, which means not 0
is false
. Compare
the resulting value from bitwise AND with 0 instead of checking it with
if not
to ensure correctness.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Equinix is shutting down its operations with us on April 30, 2025. They have graciously supported us for almost 5 years, but all good things come to an end.
Given the time frame, it's going to be hard to make a smooth transition of the cluster to somewhere else (TBD). Please expect in the next months some hiccups in the service and probably at least a full week of downtime to transfer gitlab to a different place.
All help is appreciated.
In Lua, 0
is a truthy value, which means not 0
is false
. Compare
the resulting value from bitwise AND with 0 instead of checking it with
if not
to ensure correctness.