Project

General

Profile

Bug #6627

no edit rights for collaborating course admins

Added by Anonymous about 7 years ago. Updated about 7 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
-
Start date:
26/08/2013
Due date:
% Done:

0%

Estimated time:
Complexity:
Normal

Description

when publishing, with the checkbox for collaborating course admins checked: the other admins still have no edit rights.

History

#1

Updated by Anonymous about 7 years ago

resolved: file application/weblcms/php/lib/content_object_publication_form.class.php lines 765 - 766

$admin_groups and $admin_users are DoctrineRecordResultSets. These object are not iteratable with foreach. I changed them to arrays by appending ->as_array().

I suppose the DoctrineResultSets should actually be iteratable (implement php Iterator interface - very close to the current implementation); meanwhile, this fix is sufficient.

#2

Updated by Anonymous about 7 years ago

remark:

If a new course admin is added after publishing a shared document, the new CA will not have edit rights, as the rights are added to the users, and not to the document. (A quick test confirms this)

it's not a bug, it's a feature...?

#3

Updated by Anonymous about 7 years ago

  • Status changed from New to Bug resolved

Also available in: Atom PDF