← Back to team overview

mahara-contributors team mailing list archive

[Bug 1769434] [NEW] Access permissions are duplicated when pages are added to collections

 

Public bug reported:

Noticed in Mahara 18.04

When pages already have access permissions, they are applied to the
collection when the pages are added to the collection.

Normally, that should result in  a joining of the permissions, but
people / groups are listed multiple times.

To replicate:

1. Create 2 pages and share each with "Registered users".
2. Create a collection and add both pages to the collection.

Expected result: The access permissions show "Registered users" only
once.

Actual result: "Registered users" show up twice.

When a portfolio page has been shared with a user for a specific date
and the second page has been shared for a different date then both dates
should be retained. However, when there are not additional conditions
for a selected user or group of people, their permissions should only
show up once.

** Affects: mahara
     Importance: Medium
         Status: Confirmed

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

Title:
  Access permissions are duplicated when pages are added to collections

Status in Mahara:
  Confirmed

Bug description:
  Noticed in Mahara 18.04

  When pages already have access permissions, they are applied to the
  collection when the pages are added to the collection.

  Normally, that should result in  a joining of the permissions, but
  people / groups are listed multiple times.

  To replicate:

  1. Create 2 pages and share each with "Registered users".
  2. Create a collection and add both pages to the collection.

  Expected result: The access permissions show "Registered users" only
  once.

  Actual result: "Registered users" show up twice.

  When a portfolio page has been shared with a user for a specific date
  and the second page has been shared for a different date then both
  dates should be retained. However, when there are not additional
  conditions for a selected user or group of people, their permissions
  should only show up once.

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