bit property
Readonly bitfield. Contains permissions for this resource.
This is a 5-bit field. No permissions is represented by 00000
binary or 0
in decimal.
- 1st bit: join priviledge.
- 2nd bit: update priviledge.
- 3rd bit: get priviledge.
- 4th bit: create priviledge.
- 5th bit: delete priviledge.
- 6th bit: manage priviledge.
- 7th bit: write priviledge.
- 8th bit: read priviledge.
Implementation
int get bit => _bit;