Change WordPress user roles and capabilities Forums Restrict or Permit access inside WordPress – how to Restrict “document-categories” using Media Library Assistent

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7801
    citsolutions
    Participant

    Hello,

    I am using “Media Library Assistent (MLE)”-Plugin (https://de.wordpress.org/plugins/media-library-assistant/) and User Role Editor PRO. I assign with the help of MLA document-categories to a document. I would like to restrict the access to this documents with the help of URE.

    Is that possible, how can I configure that usecase?

    Best regards,
    Harald

    #7810
    Vladimir
    Keymaster

    Hi Harald,

    It depends from what kind of restriction do you need to apply:
    1) If you wish restrict by MLA doc-category editing of media library items, you can use “Edit restrictions” add-on. Just input categories list ID into the user profile or user role.
    2) There is the “Content view restriction” add-on, which allows to manage who can view post/page content at front-end, including a category level. But you need to take into account here, that this add-on hides the post content only – the description for media library item. So if image is attached to the post you have to restrict the view of the whole post itself or the part of post with the image inside using shortcode. URE does not restrict view of media library item (image, PDF file, etc.) via direct URL. It works with the post content only.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.