← Back to team overview

mahara-contributors team mailing list archive

[Bug 1758769] Re: Tutors able to create page when Group's "End date" is set to the past

 

Tutors and admins should be able to edit pages outside of the
editability window. Only regular members can't.

The "Copy" button that was mentioned earlier is the one next to the
"Add" button, not the copy button I meant being able to copy a page in
your own portfolio.

** Summary changed:

- Users able to create page when Group's "End date" is set to the past
+ Tutors able to create page when Group's "End date" is set to the past

-- 
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/1758769

Title:
  Tutors able to create page when Group's "End date" is set to the past

Status in Mahara:
  In Progress

Bug description:
  Environment tested: Master
  Browser tested: Chrome

  ===================
  Manual Test Script
  ===================

  Preconditions: 
  1) Group exists 

  
  Test Steps:
  1) Group admin sets "End date" to yesterday's date 
  2) Group member visits group and tries to add a new page under Pages and collections

  Actual result:

  1) User click add page:
  ------------------------
  user is redirected to the newly created page with an error message "Access denied You do not have access to view this page." ✔ (expected)
  The page has been created and can be seen from Pages and collections page. ✘

  2) User click Copy: 
  --------------------
  User gets "Access denied You do not have access to view this page." page error and No new copy is created ✔ (expected)

  3) User clicks Add collection:
  -------------------------------
  User is allowed to create a new collection as normal ✘ 


  Expected result: 
  user should not see the add or copy button when the Group's "End date" is set to the past 

  Catalyst QA

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


References