Forum Replies Created
-
AuthorPosts
-
Syam MohanKeymasterThis reply has been marked as private.Syam MohanKeymaster
Hi Marlin,
1. How can I test this?
2. User only need the “read” capability to access wp-admin.Thanks
Syam MohanKeymasterHi Marlin,
1. Have you considered the possibility of they not being custom post types?
2. Remove edit_others_posts/edit_others_pages and delete_others_posts/delete_others_pages capabilities.
3. If you are looking to remove items from the toolbar, right now the only way is to remove the corresponding capabilities.Thanks
Syam
Syam MohanKeymaster[syam][at][this domain]
Thanks
Syam MohanKeymasterHi Andrew,
Did you get a chance to send the email?
Thanks
April 7, 2015 at 10:38 pm in reply to: Permission to add users for roles with lesser permission level #7325Syam MohanKeymasterThis is something I have in my to do list. But I won’t be using levels for this, since levels are deprecated and will be removed in future version of WordPress. I still need to figure out an easy way.
Thanks
Syam
Syam MohanKeymasterYou could just use the content shortcodes to hide the content and display a login form, without using extended permissions.
Syam MohanKeymasterHi Ahmed,
There are no filters or actions to hook into a 404 when the user doesn’t have permission. If you are familiar with editing PHP files and WordPress functions, you can create a custom 404 page with the content short-codes functionality and the following tutorial.
https://codex.wordpress.org/Creating_an_Error_404_Page
Even if you do this, every 404 will display the login page, not just the pages where they don’t have permission. I’ll add this to my to do list, but I’m not guaranteeing it at this moment.
Thanks
Syam
Syam MohanKeymasterHave you tried with clearing the cookies and temp files in chrome? Since it happens only in chrome, I don’t think this has anything to do with user role editor. Can you send me a screenshot of the page?
Thanks
Syam MohanKeymasterHi Andrew,
Have you changed anything, like updating the plugin or changing a setting?
Thanks
Syam
Syam MohanKeymasterYou can simply deactivate, then reactivate your license key. If its not possible or did not work, you can deactivate your license key through “Purchases”. For more information take a look into FAQ question 2.
https://wpfront.com/user-role-editor-pro/faq/
Thanks
Syam
March 27, 2015 at 7:28 pm in reply to: The EDITOR don't have permissions upload images to library? #6785Syam MohanKeymasterHi James,
To upload a media, the only capability you need is “upload_files”. Can you try disabling all your plugins? It could be because some plugin is checking for other capabilities.
Thanks
Syam
Syam MohanKeymasterHi Fabrizio,
The line you mentioned works on the “Administrator” role. If your are getting an error in that line, then your Administrator role object do not exist and WordPress is returning null while accessing Administrator role.
Do you see Administrator role within the roles list? Can you try restoring the Administrator role.
Thanks
Syam
Syam MohanKeymasterHi Jim,
“edit_posts” allows the user to edit their own posts. Also they will be able to create new posts. But they won’t be able to publish them or edit others posts. They can submit it for review.
You can use the menu editor to remove those menu items from that role.
Hope this helps.
Thanks
Syam
Syam MohanKeymasterHi Jim, Sorry it took a while. I was working on a feature and I wanted to finish that before working on it, so that I don’t have to merge my codes later.
I tested your code and it turns out that the user needs “edit_posts” capability instead of “manage_categories”.
I’ll have to dig deeper into the WordPress core, to find is there any way to re-point it to the custom post type capability.
Thanks
Syam
-
AuthorPosts