Environment tested: Master
Browser tested: Chrome

Preconditions
----------------------------
1) the following users exist 
--- a. Group Members = SIte admin, User1, User2, User3, User4, User5, User6 
--- b. Group admins = User1
--- c. Forum Moderators - User2

2) Group exists with the following settings set:
--- a. Associate with institution = No Institution
--- b. Open = Yes
--- c. Roles = Standard
--- d. Create and edit = All group members
--- e. Publicly viewable group = Yes
--- f. Auto-add users =  Yes
--- g. Shared page notifications = All group members
--- h. Comment notifications = All group members
--- i. Send forum posts immediately = Yes

3) Forum exists with the following settings
--- a. Moderate new posts = Posts and replies

Test Script 
----------------------


1. Login as Group member (User3) and creates a topic
2. Verify User (User3) sees topic highlighted in yellow and a note "Awaiting 
approval" when submitted ✔
3. Verify the newly created post is not displayed on the following pages 
        a. Main Forum page  ✔
        b. About group page ✔
        c. Portfolio page that has a Recent forum post block  ✔
4. Log out 
5. Login as another group member (User4)
6. Verify that user cannot see the newly created Topic (by User3) in the 
following places 
        a. Main Forum page  ✔
        b. About group page  ✔
        c. A page with a Recent forum post block ✔
7. Log out
8. Login as Group admin (User1)
9. Verify that Group admin can see the Newly created topic with a yellow 
background (indication approval needed)
10. Verify that user cannot see the newly created Topic (by User3) in the 
following places 
        a. Main Forum page  ✔
        b. About group page  ✔
        c. A page with a Recent forum post block ✔
11. Verify that Group admin and moderator of group forum receives an email as 
follows 
        a. Subject:     Mahara: New post needs moderation in forum <forum name>
 ✔
        b. Email bod text:
 ✔
                        You have been sent a notification from Mahara. Message 
follows:
                        
------------------------------------------------------------------------
                        
                        Subject: New post needs moderation in forum "Bug 
1803912 moderate forum posts"
                        
                        Fred User6 has posted in forum "Bug 1803912 moderate 
forum posts" and is
                        awaiting for moderation.
                        
                        The post content is:
                        <post message>
                        
                        See
                        <Forum Link>
                        
------------------------------------------------------------------------
                        
                        This is an auto-generated notification from Mahara. To 
update your notification
                        preferences, visit
                        
http://mahara.stevens-lp.dynamic.wgtn.cat-it.co.nz/account/activity/preferences/index.php
                        
                        Please do not reply to this message.


12. As the group admin, reject the post message.
13. Verify that group admin must enter a reason in the Reason field that they 
are redirected to 
 ✔
14. Click the Verify author button to send an email notifying author of the 
decision 
15. Verify the author receives an email saying post was rejected with the 
reason, the original  post text and a link to the forums page ✔
        a. Subject:     Mahara: Forum post rejected on forum<forum name> ✔
        b. Email bod text:
 ✔
        You have been sent a notification from Mahara. Message follows:
        ------------------------------------------------------------------------
        
        Subject: Forum post rejected on forum "Bug 1803912 moderate forum posts"
        
        Admin User has looked at post by Bob User2 waiting for approval and 
deleted it.
        
        Rejection reason:
        35345345345345
        
        The post content was:
        Aenean massa. Suspendisse enim turpis, dictum sed, iaculis a, 
condimentum
        nec, nisi. Pellentesque habitant morbi tristique senectus et netus et
        malesuada fames ac turpis egestas. Phasellus leo dolor, tempus non, 
auctor
        et, hendrerit quis, nisi. Etiam rhoncus.
        
        See
        
http://mahara.stevens-lp.dynamic.wgtn.cat-it.co.nz/interaction/forum/view.php?id=14
        
        ------------------------------------------------------------------------


        This is an auto-generated notification from Mahara. To update your 
notification
        preferences, visit
        
http://mahara.stevens-lp.dynamic.wgtn.cat-it.co.nz/account/activity/preferences/index.php
        
        Please do not reply to this message.


Catalyst QA Approved ✔

** Bug watch added: 
mahara.stevens-lp.dynamic.wgtn.cat-it.co.nz/interaction/forum/ #14
   
http://mahara.stevens-lp.dynamic.wgtn.cat-it.co.nz/interaction/forum/view.php?id=14

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1803912

Title:
  moderate forum posts

Status in Mahara:
  In Progress

Bug description:
  Add setting to forum to allow moderators to approve or deny new posts
  or replies

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1803912/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to