Support » Plugin: Simple Fields » [Plugin: Simple Fields] Using Role Scoper – File upload blocked! no permissions

  • Resolved Aaron


    While using Simple Fields with Role Scoper I cannot use the file uploader on a user that is not an admin. I am getting the “you do not have permissions” error. However, when using the normal image uploader I am able to upload an image to the content area.

    After much research, I have traced this back to the user not being able to “Activate Plugins”. When we use capabilities manager to allow them to “active” plugins it works but then the user can add/edit/delete plugins AND all custom post types using simple fields are available to them as well making the whole point of the plugin null and void.

    I am not sure what side the give & take should be on this issue. Whether it is Role Scoper’s problem or Simple Fields, but it seems like it is something that Simple Fields could fix easier.

    Please help as soon as possible.


Viewing 5 replies - 1 through 5 (of 5 total)
  • I am also seeing this issue. The strange thing is that users that are receiving the error message in the Simple Fields file uploader can use the file uploader to upload images to the post content.

    I have found that giving the users the ability to activate plugins does fix this issue, but opening up this functionality to users that are being restricted seems to defeat the purpose of Role Scoper.

    Maybe if Simple Fields opened up the ability for any access level to use the file uploader this issue would be fixed.

    Thank you for your help!

    Am experiencing the same issue.

    Will be a great help if fixed.


    You can eliminate the conflict by disabling Role Scoper filtering for file uploads by putting this in wp-config.php, above the “stop editing” line:

    if ( strpos( $_SERVER['SCRIPT_NAME'], '/wp-admin/media-upload.php' ) || strpos( $_SERVER['SCRIPT_NAME'], '/wp-admin/async-upload.php' ) )
    define( 'DISABLE_QUERYFILTERS_RS', true );

    This will also prevent users from uploading files on the basis of RS role assignments, but I’m not ready to donate any more time to the investigation right now.

    Thanks Kevin! HUGE HELP! Fortunately, we don’t need to block any file uploading so this works perfectly for us.

    You are an champ!

    Sidenote: We actually had to remove ‘/wp-admin/’ from the two file calls to get it to work.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Simple Fields] Using Role Scoper – File upload blocked! no permissions’ is closed to new replies.