RadioFreeAsia / rfa.kaltura

Kaltura Video Integration with Plone
2 stars 8 forks source link

Workflow Configuration #83

Open flipmcf opened 9 years ago

flipmcf commented 9 years ago

As a Plone site Administrator I want to enable / disable workflow on Kaltura Videos So that I can mirror the "Auto Approve" behavior on Kaltura

Currently, this package enables workflow on all kaltura videos, regardless of "Auto Approve" being set on the KMC.

There may not need to be much work involved, other than hiding the Actions Tools on the manage site if workflow is disabled.

Currently, a newly created video in Plone will appear in KMC as either Pending Approval or Auto Approved based on the setting in the KMC. However, there is code in storage.py which will attempt to override this. It doesn't seem to have much of an effect when KMC Auto Approve is enabled, but I can't guarantee that at the moment.

A workflow transition after initial creation will either mark the Media Entry as "Rejected" (non-published state for plone) or "Approved" (published state for Plone) which will control the appearance of the video on the public facing website.

These transitions which affect the state of the media entry on the KMC should be skipped if the configuration for "Workflow" on the rfa.kaltura product setup is False, to avoid any unforseen and confusing circumstances where a mediaEntry is improperly set to 'rejected' from Plone.

flipmcf commented 9 years ago

As of right now, an account on Kaltura (kmc.kaltura.com) cannot change the auto approve status without a request to kaltura customer support.

Can't create this setting until that becomes available.

flipmcf commented 9 years ago

For Kaltura Customer Care Reference: Case# 00053952: Change / Disable Auto Approve from KMC [ ref:_00D70KBCD._50070r5m2u:ref ]