Permalink
Show file tree
Hide file tree
54 changes: 35 additions & 19 deletions
54
.../search-service-impl/src/main/java/org/opencastproject/search/impl/SearchServiceImpl.java
3 changes: 2 additions & 1 deletion
3
...-service-impl/src/main/java/org/opencastproject/search/impl/persistence/SearchEntity.java
30 changes: 28 additions & 2 deletions
30
...impl/src/main/java/org/opencastproject/search/impl/persistence/SearchServiceDatabase.java
61 changes: 60 additions & 1 deletion
61
.../src/main/java/org/opencastproject/search/impl/persistence/SearchServiceDatabaseImpl.java
41 changes: 28 additions & 13 deletions
41
...rch-service-impl/src/main/java/org/opencastproject/search/impl/solr/SolrIndexManager.java
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix Engage Series Publication and Access
Access to series and series metadata on the search service (shown in media module and player) depends on the events published which are part of the series. Publishing an event will automatically publish a series and update access to it. Removing an event or republishing the event should do the same. Incorrectly Hiding Public Series -------------------------------- This patch fixes the access control update to the series when a new episode is being published. Until now, a new episode publication would always update the series access with the episode access. While this is no security issue since it can only cause the access to be stricter, it may cause public series to become private. This would happen, for example, if a users sets one episode of a series to private and republishes the episode. Now, the search service will merge the access control lists of all episodes to grant access based on their combined access rules. Update Series on Removal ------------------------ This patch fixes Opencast not updating the series access or remove a published series if an event is being removed. This means that access to a series is re-calculated when an episode is being deleted based on the remaining published episodes in the series. For example, removing the last episode with public access will now make the series private which it would have stayed public before. It also means that if the last episode of a series is being removed, the series itself will be unpublished as well, so no empty series will continue to show up any longer.
- Loading branch information
Showing
5 changed files
with
153 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters