• Basicly I’m having a problem where admin user uploads a document then when the other user clicks “Print” it’s supposed to open a PDF and make it printable . When I’m using admin account and I click print it displays the document correct but when I log into an account that’s not admin and hint print it shows a message “Unauthorized” and does not display said document but works fine when done on admin account. I tried to install user roles plug-in and tinkered with a bit of permissions but can’t seem to find the one I need to allow other roles to view uploaded documents .

    • This topic was modified 5 years, 3 months ago by johny305.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    Are you using a plugin to enable the “print” button with PDFs? Have you checked your sites error log to see what could be going on? Would you mind showing the errors in your error log here in the post?

    Thanks!

    Josh

    Thread Starter johny305

    (@johny305)

    Error I get is get_object_vars () Edpected parameters 1 to be an object string given in public/wp-includes/class-wp-post.php on line 265 . That’s what I get with the debug logs turned on but everything works as it should with an admin account not other roles wasn’t sure if this error is asocciated with it or something to do with permission and no plug-in for uploading .

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘View file permissions’ is closed to new replies.