Page screen should show "..." button with option to delete page

Bug #1661139 reported by Cecilia Vela Gurovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
Cecilia Vela Gurovic

Bug Description

In the screen for pages we own, we should see the "..." button similar to the one we see for pages shared with us.

In this button we should only have the option to delete the page.

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/7437

Changed in mahara:
status: Confirmed → In Progress
Revision history for this message
Cecilia Vela Gurovic (ceciliavg) wrote :

option to delete page is enable for:
        - Normal user in its own pages
        - For group pages
            To admin user
            To other roles if they have Create and Edit permission
             in group setting and page is not locked
        - For institution, to site admin

when deleting a page, we should be redirected to:

    In case the page is in a collection, to the first page of the collection.
    If the collection has no more pages, to the collection list (normal user collection list, group collection list or institution collection list)

    If the page is not part of a collection, to the pages list (normal user pages list, group pages list, instituttion pages list)

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

For institutions, institution admins should also have the option to delete and not only site admins.

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/7437
Committed: https://git.mahara.org/mahara/mahara/commit/d2987e633098d9b16442453f0b668264095d46cb
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit d2987e633098d9b16442453f0b668264095d46cb
Author: Cecilia Vela Gurovic <email address hidden>
Date: Tue Feb 7 12:01:03 2017 +1300

Bug 1661139: add delete option in view screen

option to delete page is enable for:
- Normal user in its own pages
- For group pages
To admin user
To other roles if they have Create and Edit permission
in group setting and page is not locked
- For institution, to site admin

behatnotneeded

Change-Id: I424c8a103e55d46178d779b77ebfb79db2d504f3

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
tags: added: nominatedfeature
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
Revision history for this message
Steven (stevens-q) wrote :

Test Steps:
1)Login as a User
2) Navigate to Portfolio>pages & collection
3) Click on one of the page
4) click on “...” which is on right hand side of the page
5) Delete option should be displayed
6) Click on delete page
“ Do you Really Want to delete this page? It cannot be undone> with Yes or no buttons shoudl be displayed
7) Click on Yes to delete the page

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/9025

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.