I gave permission to “staff” role for accessing and managing full media library and The add capability like ‘upload_files’ and ‘unfiltered_upload’ for “Staff” role But User can not access “Full Media Library”. It can only upload media but not show the list of media items.

I did also add below function to our theme function file but it not working.

add_filter('ure_attachments_show_full_list', 'show_attachments_full_list', 10, 1);

function show_attachments_full_list($show_full_list) {
    return true;

How can I fix this please ?