function comments_perm

7.x comments.module comments_perm()
6.x comments.module comments_perm()
4.x comments.module comments_perm()
5.x comments.module comments_perm()

File

modules/comments/comments.module, line 451

Code

function comments_perm() {

  return array(
    "view_comments" => array(
      "title" => t("Can view comments"),
      "description" => t("The user may view comments (only public by default)."),
    ),
    "view_faculty_comments" => array(
      "title" => t("View 'Faculty' comments"),
      "description" => t("The user is allowed to view 'Faculty' comments."),
    ),
    "can_save_comments" => array(
      "title" => t("Can save comments"),
      "description" => t("The user may save new comments, visible to either everyone or only faculty/staff."),
    ),
    "can_delete_own_comments_3_months" => array(
      "title" => t("Can delete own comments for 3 months"),
      "description" => t("The user may delete comments they have made for up to 3 months.  After 3 months, they 
                          will not be able to delete their comment."),
    ),

  );



}