Explanation of User Roles and Capabilities

You can create capabilities for each custom post type and add this to the different roles; see this answer from an question here.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)