change user permissions through code in drupal -


i new drupal.

i working on website many different type of users there. requirement allow bloggers delete comments related blogs.

yes know can done admin. client telling, don't want admin rather need achieved through code itself.

please guide me (module, features etc) need write code affect permissions. , how code should written.

any type of highly appreciated.

thanks

in drupal can create roles users. can specify users have "blogger" role. , then, can add permissions role. in case, want set permission of delete comment.

i think may find link useful: https://drupal.org/node/120614

regards.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -