users that can edit items should be able to play them
This commit is contained in:
parent
7ad95d49e9
commit
9de8f260c8
1 changed files with 2 additions and 2 deletions
|
@ -762,8 +762,8 @@ pandora.getSortOperator = function(key) {
|
|||
};
|
||||
|
||||
pandora.getVideoOptions = function(data) {
|
||||
var canPlayClips = pandora.site.capabilities.canPlayClips[pandora.user.level] >= data.rightslevel,
|
||||
canPlayVideo = pandora.site.capabilities.canPlayVideo[pandora.user.level] >= data.rightslevel,
|
||||
var canPlayClips = data.editable || pandora.site.capabilities.canPlayClips[pandora.user.level] >= data.rightslevel,
|
||||
canPlayVideo = data.editable || pandora.site.capabilities.canPlayVideo[pandora.user.level] >= data.rightslevel,
|
||||
options = {};
|
||||
options.subtitles = data.layers.subtitles
|
||||
? data.layers.subtitles.map(function(subtitle) {
|
||||
|
|
Loading…
Reference in a new issue