Manual:$wgAvailableRights

Details
The list of core user rights is defined in User.php,  .

See man>Special:MyLanguage/Manual:User rights#Adding new rights|Manual:User rights#Adding new rights.

Extensions use this variable instead, like: