Thanks, Kartik Shukla, I’m using the “user role editor” plugin. I created a user and gave the necessary permission to the user but in the user’s dashboard that permission is not showing.
For example, I unchecked wp rocket but in his dashboard, he can access that. I gave him, he can edit, delete media but in his dashboard nothing showing.