This is a simple doc which explains how bit are used in level column in the SQL table user. When your application use on bit, please add it here. ...WXYZ bit 0 is Z bit 1 is Y bit 2 is X [...] etc bit 1: Allowed to moderate section which has 1 as id 1: ok 0: not ok [...] bit 20: Allowed to moderate section which has 20 as id 1: ok 0: not ok bit 21: Has moderator level 1: ok 0: not ok bit 22: Has sysadmin level 1: ok 0: not ok bit 23: Has score allowed level 1: ok 0: not ok