Bug #6627
closed
no edit rights for collaborating course admins
0%
Description
when publishing, with the checkbox for collaborating course admins checked: the other admins still have no edit rights.
Updated by Anonymous over 9 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.
Updated by Anonymous over 9 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...?