There was a [[ https://phabricator.wikimedia.org/T215653 | task ]] for Setting wgRestrictionLevels for all Serbian projects to autoconfirmed, autopatrol, patrol, rollback, bot, sysop, and bureaucrat. The lines added are:
'srwiki' => [ '', 'autoconfirmed', 'autopatrol', 'patroller', 'rollbacker', 'bot', 'sysop', 'bureaucrat' ], // T215653
'srwikibooks' => [ '', 'autoconfirmed', 'autopatrol', 'patroller', 'rollbacker', 'bot', 'sysop', 'bureaucrat' ], // T215653
'srwikinews' => [ '', 'autoconfirmed', 'autopatrol', 'patroller', 'rollbacker', 'bot', 'sysop', 'bureaucrat' ], // T215653
'srwikisource' => [ '', 'autoconfirmed', 'autopatrol', 'patroller', 'rollbacker', 'bot', 'sysop', 'bureaucrat' ], // T215653
'srwikiquote' => [ '', 'autoconfirmed', 'autopatrol', 'patroller', 'rollbacker', 'bot', 'sysop', 'bureaucrat' ], // T215653
'srwiktionary' => [ '', 'autoconfirmed', 'autopatrol', 'patroller', 'rollbacker', 'bot', 'sysop', 'bureaucrat' ], // T215653
But user rights are not set correctly ($wgRestrictionLevels contains a set of permissions, not user groups). I think of this change in wgGroupPermissions: (this should be added to srwiki, srwikibooks, srwikinews, srwikisource, srwikiquote, srwiktionary)
'patroller' => array( 'patroller' => true ),
'rollbacker' => array( 'rollbacker' => true ),
'sysop' => array( 'patroller' => true, 'rollbacker' => true ),
'bureaucrat' => array( 'bureaucrat' => true ),