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

Bug #1661139 reported by Cecilia Vela Gurovic on 2017-02-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
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.

Changed in mahara:
status: Confirmed → In Progress

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)

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

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) on 2017-02-12
Changed in mahara:
status: In Progress → Fix Committed
tags: added: nominatedfeature
Robert Lyon (robertl-9) on 2017-04-27
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers