Viewing the article if the status is draft and the logged in user is from group 1 or 6 is not a problem.
Getting the page to redirect to the 404 page if the status is draft and the logged in user is not ID 1 or 6 is the issue.
With this in mind I’d like to try a new approach.
Is it possible to use status in an if statement? See code below.
I did test this and it threw an error, but I thought you might confirm if it’s possible. I might just have the syntax incorrect.
Thanks
Jules
{if logged_in_group_id != 1 || logged_in_group_id != 6 && status="Draft" }
{redirect="site/404"}
{/if}