• Resolved persoonlijkvaardiger

    (@persoonlijkvaardiger)


    I want my Open User Map-users to have very restricted capabilities, so i use Publishpress Capabilities to accomplish that for me. I created a custom role. Almost everything works, accept that users cannot upload files while editing existing locations. Initially there seems to be no problem; users can click on ‘Upload image’ and select an image. But then uploading fails and they get the message ‘You are not allowed to upload files’.
    I think I set all capabilities correct, but somehow the edit_oum-locations and read_oum-locations are still green and edit files,?upload files and?unfiltered upload all stay green too.
    Is there any way you can help my with this?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    Hi @persoonlijkvaardiger

    Thanks for using PublishPress Capabilities.

    Giving the upload files and?unfiltered upload capabilities should fix your issue.

    If it’s not, then it might affected by other plugins. Can you please inform me all lists of your plugins?

    Thanks,

    Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved. If you have any further questions, please reply again here, or you can start a new thread.

    Thanks,

    Thread Starter persoonlijkvaardiger

    (@persoonlijkvaardiger)

    Hi, sorry for my absence. It is not resolved yet. I try to give the (filtered) upload abilities, bu they keep turning green. This is the list of my plugins:
    Complianz
    Elementor Pro
    Loco translate + Automatic translate addon
    Open User map Premium
    Publish Press Capabilities
    Really Simple SSL
    Simple Page Acces Restriction
    WP File Manager
    WP login and logout Redirect
    WPvivid Backup plugin

    Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    @persoonlijkvaardiger It sounds like you are currently starting with a low-capability user role and adding Capabilities to enable additional access.

    This is usually a good strategy – easy to understand and safely defaults to no extra access if Permissions is temporarily disabled.

    However, in cases like this where a third party plugin is checking for certain role capabilities, it may be necessary to use the opposite configuration strategy: start with a high-capability role and use Capabilities to limit the application of those capabilities.

    So the exact steps will looks as follow:

    1. Check which user can upload file
    2. Copy the role
    3. Start revoking the capabilities that does not needed for that role

    By doing that, you should be able to have the proper role as per your need.

    Thanks,

    Thread Starter persoonlijkvaardiger

    (@persoonlijkvaardiger)

    That sounds like a wise plan. I just checked with my admin role, and I can perform the action. So it’s not the action itself ??
    Thanks, I think this will work. I’ll try this!

    Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    @persoonlijkvaardiger Sure thing. Good luck!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Uploading files not working’ is closed to new replies.