[13.0][OU-FIX] website_slides: categories migration#2924
Conversation
The fields `is_preview` and `is_published` are values expected be `True` as default when the category is created. It can be seen how in the `create()` and in the `write()` this is explicitly evaluated as long as in the controller, which is the main way to create categories now. Also, we must ensure that those categories are active. Al should be as the old specific model didn't have the field itself. TT32244
|
For the tag for other times, you can put it as For the public thing, are you able to subscribe to groups or to have an auto-subscribe mechanism? |
Yes, you can assign groups to the channel and users belonging to them will autosubscribe. Otherwise, only portal and internal users can subscribe manually (I should check this fact) to the public channels in order to view their slides. |
|
Then the migration script can subscribe automatically Portal and Public groups to this public channels for equivalent behavior, isn't it? |
|
Yes if we choose that way to go :) The other is to set those slides as |
The fields
is_previewandis_publishedare values expected beTrueas default when the category is created. It can be seen how in thecreate()and in thewrite()this is explicitly evaluated as long as in the controller, which is the main way to create categories now. Also, we must ensure that those categories are active. Al should be as the old specific model didn't have the field itself.cc @Tecnativa TT32244
We should also decide what to do with public slides. In v12, they were public or not. In v13 with the eLearing orientation they're visible only if:
is_previewset toTrue)So to translate that from one version to the other we should either:
is_previewon (then an uglyFree previewbadge is shown.What's would be the better way?