Creating rolls and permissions in my new module

Hi friends,

We are develop new module in AX2012R2 now we have to create rolls permissions of that module so please give some inputs where can i start this.

I created new configuration key, attached to the configuration key all my new modules table.

Regards,

MSDAX

Please tell me anyone.