Changeset 3637
- Timestamp:
- 04/23/09 10:22:32 (11 months ago)
- Location:
- branches/feature-permission-reconstruction/lib/MT
- Files:
-
- 2 modified
-
CMS/Comment.pm (modified) (3 diffs)
-
Core.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-permission-reconstruction/lib/MT/CMS/Comment.pm
r3636 r3637 165 165 my $admin = $app->can_do('administer_blog'); 166 166 my $can_empty_junk = $app->can_do('delete_junk_comments'); 167 my $state_editable = $app->can_do('edit_ comment_status');167 my $state_editable = $app->can_do('edit_all_comments'); 168 168 my $state_entry_editable = $app->can_do('edit_all_entries'); 169 169 my $state_commenter_editable = $app->can_do('edit_commenter'); … … 1626 1626 $perms = $author->permissions( $obj->blog_id ); 1627 1627 } 1628 if ( !$app->can_do('approve_all_trackback', $perms) {1628 if ( !$app->can_do('approve_all_trackback', $perms) ) { 1629 1629 if ( $app->can_do('approve_own_entry_trackback', $perms) ) { 1630 1630 return $app->errtrans( … … 1656 1656 ); 1657 1657 } 1658 if ( !$app->can_do('approve_all_comment', $perms) {1658 if ( !$app->can_do('approve_all_comment', $perms) ) { 1659 1659 if ( $app->can_do('approve_own_entry_comment', $perms) ) { 1660 1660 return $app->errtrans( -
branches/feature-permission-reconstruction/lib/MT/Core.pm
r3636 r3637 781 781 open_own_entry_comment_edit_screen: 1 782 782 create_new_entry: 1 783 view_feedback: 1 783 784 save_multiple_entries: 1 784 785 edit_own_entry_comment_without_status: 1 785 786 inherit_from: 786 - blog.manage_feedback787 787 - blog.edit_assets 788 788 blog.edit_all_posts:
