Ecency
Add permission mask decoding