package auth type Permission int type Role struct { Name string Permissions Permission } const ( AdminPermission Permission = 0xff - (1<