• Romain Courteaud's avatar
    Allow to force user authentication. · 6fecf063
    Romain Courteaud authored
    Use the HalRestricted skin selection to prevent anonymous user to access the API.
    
    This allow the JS application to be informed that the user is not authenticated (and so, it can prevent allDocs call without results).
    
    Consider this code as a proof of concept which should be instead be done at PAS level.
    
    Restricted access on WebSection level can not be done currently, as it will redirect the query to the ERP5 login_form page template.
    6fecf063
registered_skin_selection.xml 519 Bytes