Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • mahara mahara
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • maharamahara
  • maharamahara
  • Repository
Switch branch/tag
  • mahara
  • htdocs
  • auth
  • user.php
Find file BlameHistoryPermalink
  • Edward Murrell's avatar
    Add moderating roles to GroupType for comment delete. bug809625 · fa63d1b8
    Edward Murrell authored Jul 05, 2011
    
    
    This change was added to limit deleting of comments in standard groups
    views to admins only, and admins and tutors in course groups. This commit
    adds the functions
        User::can_moderate_view()
    and
        GroupType::get_view_moderating_roles()
    to implement this functionality.
    
    Change-Id: Ifb8f4fc55d31fd7c5928c73c3d81710934bfdad8
    Signed-off-by: default avatarEdward Murrell <edwardm@catalyst.net.nz>
    fa63d1b8