Skip to content

Rights Settings Extension

FarbodZamani edited this page Jul 12, 2024 · 6 revisions

Description

This feature introduces a new way of handling and managin rights and permissions in Opencast Plugin.

Requirements

Rights

For info: New Rights Specifications

Additions

The following RBAC operations are introduced:

  • Download
  • Record (Opencast Studio)
  • Schedule

Changed

  • Read
  • Upload
  • Edit Videos
  • Edit Settings

Removed

  • Copy

Other Changes

Create new Series

By creating new series, the page now has a separate section called "Rights for members" which includes the new added rights to be set during series creatin.

Screenshot 2024-07-12 at 13 35 10

No Download -> Download Right

"No Download" button in series settings is now switched to "Download" right.

  • NOTE: In order to apply this transformation from "No Download" setting to Download right, administrators must perform the achieve CLI command php setup/setup.php achieve ilOpenCastAgent.OpencastRBACRights -vv.

More info here: CLI Commands (Update & Achieve)

No more series object "Copy"

Copying the object has been removed or neutralized and would not duplicate the object anymore.

Ignore Object Settings -> Overwrite Download Permission

"Ignore Object Settings" option in Publication Usages > Download Publication has been replaced by "Overwrite Download Permission", the logic behind remains the same!

CLI Commands (Update & Achieve) [IMPORTANT]

For this feature to work, admin needs to make sure that:

  1. ilOpenCastDBUpdateSteps is dicovered by ILIAS itself:
  • This could be done via performing composer dump-autoload in the ILIAS root directory.
  1. Update has to be performed via CLI command in ILIAS root directory:
  • php setup/setup.php update --plugin OpenCast -vv
  • or as general update php setup/setup.php update
  1. To update and reflect the new changes to the old series objects, admin needs to perform the optional achievement CLI command:
  • 3.1. php setup/setup.php achieve --list to list the achievements

Screenshot 2024-07-12 at 13 35 39

  • 3.2. php setup/setup.php achieve ilOpenCastAgent.OpencastRBACRights -vv: to perform the achievement