• Resolved Auraylien

    (@auraylien)


    Hello,

    I tried to change the view when I am on a draft preview post, but show me a 404 error post not found, probably because the post isn’t available for users who can’t access to draft posts. Is there a solution to change the view on a draft post preview?

    (and, I think I found a bug. For users who have two or more roles, they don’t appear on the users’ lists of the plugin, because of the multiple roles. It would be great if the plugin can handle users with multiple roles!)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @auraylien

    Since I’m actually changing the current user within WordPress you’ll probably have to fix this using modified capabilities voor these users/roles.
    Alternatively you could create an addon to support such functionality only when you’ve switched a view.
    In any case, I wouldn’t consider this a bug but actually expected default behavior. Another user might actually need this to happen for his project when testing user capabilities.

    As for the multiple roles. This plugin should be compatible with multiple roles since I’m using multiple roles in several projects too.
    The users should appear under each role they are assigned within the plugin dropdown. And if you have a lot of users (100+) then you need to use the search bar below to find existing users.
    If this is not the case then please provide some more info so I can try to reproduce! What plugin are you using to assign multiple roles for example? And do the switch options appear on the users listing page when you hover over a user? Are you on a multisite of single installation?

    Cheers, Jory

    Plugin Author Jory Hogeveen

    (@keraweb)

    Closing topic due to inactivity!
    Feel free to re-open if you still need help.

    Cheers, Jory

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show post as specific role when preview draft post’ is closed to new replies.