Docs or Examples for building a Permission model

Permalink
Hi All.

I need to build a Permission model for my objects in my Add-ons. Where can I read a documentation about implementation it over the C5 Permission system.

What classes and database tables i need create for the implementation my permissions? I will be grateful for any links and examples.

Thanks.

kvt