global view_method options/view_method | string:view;
I first changed it to "| nothing". Then I did take a look at the templates in SilvaDLCMSLayout where I found "| string:public" and checked in the new layout_macro.html with "| string:public". But this is wrong. I changed this in SilvaDLCMS and SilvaDLCMSLayout to "| string:view".
However, the Unauthorized error persists (with the ZMI based layouts and with SilvaDLCMSLayout). This seems to happen in get_metadata_element in the ZMI (not in dlcms_get_metadata_element) when executing the line
content = context.get_viewable()
It seems that the slides view context does not allow to access get_viewable.
You are right, it should be
global view_method options/view_method | string:view;
I first changed it to "| nothing". Then I did take a look at the templates in SilvaDLCMSLayout where I found "| string:public" and checked in the new layout_macro.html with "| string:public". But this is wrong. I changed this in SilvaDLCMS and SilvaDLCMSLayout to "| string:view".
However, the Unauthorized error persists (with the ZMI based layouts and with SilvaDLCMSLayout). This seems to happen in get_metadata_ element in the ZMI (not in dlcms_get_ metadata_ element) when executing the line
content = context. get_viewable( )
It seems that the slides view context does not allow to access get_viewable.