allow edit of custom post type but not regular posts?

You could install one of many plugins like this to restrict access for different user roles http://wordpress.org/plugins/advanced-access-manager/

Or you could remove the admin menu links to any items you want for a specific user using PHP code.

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