access restriction in Guide and error page handling
situation:
An attachment is save in an access restricted article in Guide.
This attachment is linked from an open article in Guide.
If a user clicks a link that points to the access restricted article in Guide, the user sees a nicely formatted error page handled from 'error_page.hbs' with {{#is error 'forbidden'}}...
If a user clicks a link that points to the attachment, which is behind the access restricted article in Guide, the user sees an error 'this page isn't redirecting properly', which is not caught by the 'error_page.hbs'.
This is not nice, as the user cannot be informed what is going on.
-
Ok I simply deleted all links to attachments, and instead added 'download' links that point to the access restricted page with the attachment. This is a working 'work-around'.
Please sign in to leave a comment.
1 Comments