← Back to team overview

mahara-contributors team mailing list archive

[Bug 865911] A change has been merged

 

Reviewed:  https://reviews.mahara.org/766
Committed: http://gitorious.org/mahara/mahara/commit/4165e4ab545a96b63c099ea33e6098751fef8e4d
Submitter: Richard Mansfield (richardm@xxxxxxxxxx)
Branch:    master

commit 4165e4ab545a96b63c099ea33e6098751fef8e4d
Author: Richard Mansfield <richard.mansfield@xxxxxxxxxxxxxxx>
Date:   Tue Oct 4 18:33:56 2011 +1300

    User can_publish_artefact method too restrictive (bug #865911)
    
    The can_publish_artefact method on the User class, introduced in
    commit aba54873f4 (see bug #655631) is out of line with other
    permissions on the site when it comes to institution artefacts.
    
    Any institution member can include institution files on one of their
    own pages, but this method (currently used when putting images into
    forum posts) only allows publishing by institutional admins.
    
    This change adds publishing permission on institution artefacts for
    all institution members.
    
    Change-Id: I3f8a15de573de6f58497ae45839647b462fa5e89
    Signed-off-by: Richard Mansfield <richard.mansfield@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/865911

Title:
  User can_publish_artefact method too restrictive

Status in Mahara ePortfolio:
  In Progress

Bug description:
  The can_publish_artefact method on the User class, introduced in
  commit aba54873f4 (see bug #655631) is out of line with other
  permissions on the site when it comes to institution artefacts.

  Any institution member can include institution files on one of their
  own pages, but this method (currently used when putting images into
  forum posts) only allows publishing by institutional admins.  The
  permissions should be the same in both cases.  We should allow all
  institution members to include institution files in forum posts too,
  and if we decide this is too permissive, we should file another bug to
  make institution artefact publishing permissions more restrictive
  everywhere.

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


References