Forum Replies Created
-
AuthorPosts
-
Vladimir
KeymasterDescribe what restrictions are applied for a role which have an issue with custom fields.
Vladimir
KeymasterMay be it is a some issue with caching plugin, if you use one?
Vladimir
KeymasterIt’s possible to show for a user just his own posts at wp-admin. Use for that “Own data only” option, presented by “Edit posts/pages restrictions” add-on.
Vladimir
KeymasterCustom fields created by different authors are available between those users by default. If you have more than 30 custom fields list may be limited by 30 items by default. There may be fields with special protection, which will be unavailable for the ordinal users without special permissions. Read this post for more details.
Vladimir
Keymaster@curtin-webteam, thanks for letting me know.
Vladimir
KeymasterThanks for suggestion. It makes code more universal. I accept it with a little addition to remove a beginning slash from a resulting value, if it’s there:
private static function get_page_path_from_url() { $url = substr( untrailingslashit( parse_url( $_SERVER['REQUEST_URI'] , PHP_URL_PATH) ), 1); $home_url = basename( untrailingslashit( parse_url( home_url(), PHP_URL_PATH ) ) ); $path = substr( $url, strlen( $home_url ) ); if (substr( $path, 0, 1)==DIRECTORY_SEPARATOR) { $path = substr( $path, 1); } return $path; } // end of get_page_path_from_url()Vladimir
KeymasterHi @curtin-webteam,
Do you restrict editing pages via URE Pro edit restrictions add-on?
Is it possible to get from you a copy of “Oasis Worklow Pro” plugin for testing? If Yes, share it with support [at-sign] role-editor.com via DropBox or similar.13/11/2018 at 04:38 in reply to: Being redirected to the Media Library when selecting a file in Theme/Editor #5264Vladimir
KeymasterHi Nick,
Issue with redirection may be related to these details of admin menu access module realization.
Do you know that any user with access to .php file editing can get full access to the site in a seconds? Just couple lines of PHP code may give full access. Thus, there is no sense to limit access for user with .php editing permissions in any way. You should trust such users. It’s a good practice to block file editing at production sites. Even trusted user may lead to site crash due to unintended mistake or even typo during file editing.
Vladimir
KeymasterTo ensure that there is no conflict with other plugins, try to deactivate temporally all plugins except URE Pro and reproduce the issue.
Show a screenshot with content view restrictions settings for the posts, which don’t work in your case.
Vladimir
KeymasterIn order to restore deleted meta box just visit a page for which it is registered (where it is shown) – like posts editor, etc.. User Role Editor will remember it and will show at the list of meta boxes for blocking as earlier.
A reason – meta box exists just at the page where it is shown. So you have to visit a page with meta boxes in order to let URE know about existing meta boxes.
Vladimir
KeymasterGood news 1: URE works at your site as expected. It takes a couple of seconds to get new selected role capabilities from a server, but it refreshes capabilities view normally.
Good news 2: You helpled me to find a bug. If 1st click “Granted only” checkbox then try to change a current role, checkboxes are not refreshed as they should. They stay in the same state as for previously selected role.
Let me know if you tried to change current role with “Granted only” checkbox turned ON.
Any way I will develop a fix for this bug ASAP.
Vladimir
KeymasterIs it possible to look at your site with administrator privileges?
If Yes, send credentials directly to support [at-sign] role-editor.comVladimir
KeymasterOK. Will be some error message shown at JS console after you select another role from a dropdown list?
Vladimir
KeymasterLook at the browser JavaScript console for any error messages. Usually some problem with loaded JavaScript code prevents to AJAX request execution, which should provide data for a new selected role.
Vladimir
KeymasterThanks for suggestion. I took it into account.
-
AuthorPosts