Enable advanced settings when changing permissions. You'll get 4 options instead of 2. Make authenticated users Not Set, make students Prohibit, and teachers Allow.
I try this but this setting not work. I think the problem is when user login in moodle, He/she identify as Authenticate user and if we active/inactive permission here, It allow on all roles.
Oh No, some missing here. Actually Mr. Christian Herman reply is not satisfactory. bez in this way I can't restrict student to create blog.
Also I try Blogger role article, But in this way I have to manually assign teacher in system permission.
I want a teacher can create blog and student only can view.