commit 2fe347c0a8041f467519633766821072afbc1a7c
Author: Robert Lyon <email address hidden>
Date: Mon Dec 2 08:16:18 2013 +1300
Allowing non-institution site admins to publish (bug #1255361)
Currently, if a site admin tries to edit an institution page and
attach a file to a block (eg image block) and they don't belong to
that institution, the process fails.
Have altered the can_publish_artefact() to allow those that can edit
institutions to be allowed to also publish.
Change-Id: I05a2160e84814add067019e4bde654a6ebd561b1
Signed-off-by: Robert Lyon <email address hidden>
Reviewed: https:/ /reviews. mahara. org/2770 gitorious. org/mahara/ mahara/ commit/ 2fe347c0a8041f4 675196337668210 72afbc1a7c
Committed: http://
Submitter: Son Nguyen (<email address hidden>)
Branch: 1.6_STABLE
commit 2fe347c0a8041f4 675196337668210 72afbc1a7c
Author: Robert Lyon <email address hidden>
Date: Mon Dec 2 08:16:18 2013 +1300
Allowing non-institution site admins to publish (bug #1255361)
Currently, if a site admin tries to edit an institution page and
attach a file to a block (eg image block) and they don't belong to
that institution, the process fails.
Have altered the can_publish_ artefact( ) to allow those that can edit
institutions to be allowed to also publish.
Change-Id: I05a2160e84814a dd067019e4bde65 4a6ebd561b1
Signed-off-by: Robert Lyon <email address hidden>