Questions tagged [permissions]

for questions regarding permissions of different user groups in wordpress

Filter by
Sorted by
Tagged with
0
votes
0answers
16 views

Corrupted index.php file in root and wp-admin

I'm managing a couple of WordPress sites for a client. Suddenly one of the site stopped working and was throwing 500 error (Unable to handle the request). Since the index.php would be the first file ...
0
votes
2answers
29 views

How to disable Author dropdown in Gutenberg's Status and Visibility panel

I recently noticed a new feature in the Gutenberg editor (I'm guessing introduced in Wordpress 5.8) that seemingly allows any user to post as any other user: I confirmed that using this new option, a ...
1
vote
1answer
17 views

Function not working inside of a function in functions.php

I have the following function adapted from Christine's answer here that works perfectly on its own to hide panels/metaboxes in the Gutenberg editor: function irm_gutenberg_register_files() { ...
0
votes
3answers
106 views

WordPress sites being filled with random PHP files

Two weeks ago when I tried to access one of my WordPress sites through the browser, I was redirected to an ad page. I went inside of the public_html directory and found tons of PHP files with random ...
0
votes
1answer
27 views

custom plugin not visible to some user roles

My plugin have minimum configuration like below.I can see plugin via WP admin under woocommerce main menu.but cannot see plugin from different role.That role can see woocommerce submenu.Only my custom ...
0
votes
1answer
21 views

Can't Change the default theme on WordPress by BitnamI running on AWS

After installing a WordPress server on AWS using 'bitnami-wordpress-5.7.2' as the instance, now I am not able to change the default theme using the wp-admin. When I try to activate or live preview a ...
0
votes
0answers
22 views

Manage roles and capabilities without loads of code

I want to manage user roles and permissions/capabilities. I've tried several plugins, but they save their settings to the database. Since we're running multiple environments with seperate databases, ...
0
votes
0answers
23 views

See which user role / capability is needed to use a plugin

I have installed a plugin (https://de.wordpress.org/plugins/food-and-drink-menu/) for which I want to assign permissions to a normal "editor" user. I found the plugin "User Role Editor&...
0
votes
0answers
9 views

How to allow users to add a custom item to a taxonomy other than an admin in a custom post type?

The first picture is a picture of a taxonomy in a custom post type logged in with the role of an admin. The second picture is a picture of a taxonomy shown in a custom post type logged in as another ...
0
votes
0answers
14 views

How to make file not open to public but javascript file under Wordpress folder can load it

I have one csv file for Wordpress using. It put under my theme folder. I don't want that open to public but only a js file under the theme folder can read it and retrive data. How should I set the ...
0
votes
1answer
1k views

WordPress Update - This is usually due to inconsistent file permissions.: wp-admin/includes/update-core.php

I have some WordPress websites server with root access, and at the time of creating the server, everything was fine and WordPress itself and plugins and themes were updating without any issues, but I'...
0
votes
0answers
37 views

Block access to plugins.php for custom role

So I have a custom role and I'd like to block access to the plugins.php page without using a plugin. I can remove pages from the admin menu with my functions file but not sure how to restrict access
0
votes
0answers
22 views

How do I find out what the httpd process user account and the WordPress file ownership is in order to set file permissions?

I used phpinfo() to determine the server API. As it is CGI/Fast CGI, I figured that my shared hosting site uses a suexec approach. Please correct me if I'm wrong. Now, the official WordPress site has ...
0
votes
0answers
21 views

Unusual file permissions on WordPress websites

I've been asked by a customer of mine, to manage a few hundred WordPress sites. Doing an initial security assessment, I've found that every site (350 sites) has unusual file permissions on every php ...
0
votes
0answers
11 views

How is Editor able to edit posts without logging in?

Need to figure out if this is a security issue or what is happening. I have 2 bloggers editing posts on my blog. They both have user names (editor credentials only) and passwords. Only one of them I ...
1
vote
1answer
489 views

permission_callback has no effect

WP version is 5.5.3 I have 3 API routes set in a plugin that is used in an admin dashboard page. One route is meant to be used "publicly". I have two very curious issues happening: My 3 ...
0
votes
0answers
18 views

Opening a file of the theme from outside

I have a problem. I want to open a file that is in the active theme. Actually, I have a link that is shown in an admin menu, and when I click the link I want to redirect to a file that is stored in ...
0
votes
0answers
19 views

Show posts who published after registration date

i will make a membership system in WordPress with indeed ultimate membership pro and I would like users not to see posts that were made before the date they registered. I want: They can still see the ...
0
votes
1answer
37 views

Adding prefix to WordPress database tables breaks admin capabilities?

I have attempted a few different ways (manually, using Brozzme's DB Prefix Tools & Addons plugin) to add a prefix to an older WP database (right now table names look like posts instead of wp_posts ...
0
votes
1answer
33 views

Allow Editor access to a certain plugin

WordPress Capabilities has always confused me, as you cannot allow granular access of certain roles to certain features. (Coming from a Drupal background) I have the WordPress Carousel plugin ...
0
votes
0answers
12 views

Images not displaying, path in <img> is missing. Issue not found on another server

I have a problem with displaying images on the new server. On another one everything was working OK. I moved the site to names.co.uk and some of images are not displayed. The weird thing is that it ...
0
votes
1answer
97 views

Filter DELETE REST API calls

I have a custom post type, that can be editable by more than one user. Each post of that type has a field with the user ids who can edit it (kinda like co-authors). But since many users have ...
0
votes
1answer
65 views

No user found when using REST API

When I use a REST route whilst logged in, and call wp_get_current_user(), no user is found. However, the request method, eg POST is processed without issue. Example REST route registration. ...
0
votes
0answers
10 views

Visitors "do not have permission to view this content" on home page only

This problem started suddenly. The navigation and all the other pages are still ok. I built a new home page, simply by duplicating my old one, and then set home page to my new page. That didn't help. ...
0
votes
1answer
84 views

Permissions Script Not Working

I am running a LAMP dev environment on ubuntu 18.04 with wordpress 5.4.2. I found this awesome script meant to make adjusting permissions on wordpress installations easy, getting rid of 403 errors in ...
4
votes
3answers
856 views

Add new user : make the fields First Name and Last name required

I'm searching how to make First Name and Last name fields required when we add a new user. Right now only username and Email fields are required. I found a way by adding class="form-required"...
1
vote
0answers
18 views

WordPress unable to create folders even though correct NTFS-rights are set

We are trying different NTFS-rights settings on a IIS-webserver, and we removed the Users-group from the folder containing all the sites. We then ran into the problem that a WordPress installation ...
0
votes
1answer
73 views

How to hold posts and accounts for moderation on WordPress Network site

In WordPress MU is there a way for a network admin to hold posts in moderation? For example: A user creates an account and a site They create their first post The post is held in moderation and the ...
2
votes
0answers
52 views

Registration and Custom Post Types - How to synchronize information?

I am building a platform where service providers can offer their services to potential customers. Therefore, I have two user roles, one "customer" who can only create an account and read; ...
0
votes
0answers
19 views

WordPress Multisite Layered Admins

I'm using WordPress multisite for a company project. The project have 5 multilevel admin structure with about 100 websites. The top level (5) admin (super admin) have access to all the sites. The ...
0
votes
1answer
61 views

Wordpress Local Install Theme Folder Permission To Edit

I have installed WordPress on a local LAMP installation. All I want is to edit the theme files locally on an editor like VS Code where I can open the theme folder and start editing on the go. But I ...
0
votes
0answers
95 views

Wordpress does not have the permission to update (IspConfig)

When I try to update a Wordpress website on a server I do not own since it is from an hosting provider. I am getting an error I never had. Translated to English (it is Dutch) Download update from ...
4
votes
1answer
6k views

ftp_nlist() and ftp_pwd() warnings

I'm not sure when this warning started. I got an existing site to do its hosting and applied the following good practices: Updated Wordpress - from 5.3 to 5.4.0 (current WP version) Updated all ...
1
vote
0answers
19 views

Fix permissions for users role

I have 4 users roles on my WordPress platform (role1, role2, role3, role4) Role 1 : administaror (full acces) Role 2 : proposal_editor (can create and publish posts, pages, templates, users...) Role ...
0
votes
0answers
32 views

Blank White page issue in WordPress

I am working in a WordPress site in Linux Mint. My file and folder permission is like below I used below code in wp-config.php file define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true ); ...
0
votes
1answer
106 views

Programmatically allow a non-author to edit a post based custom meta field

User A authored and published a post. In that post, User A selected User B as the "Manager" (a custom meta field). How can I allow User B to edit any post in which they are selected as the "Manager"?...
0
votes
1answer
47 views

Make custom post type archive for administrator only

Simply I have made a custom post type named ticket and have created an archive-ticket.php file I want to make if the user that tries to visit the tickets archive page is not administrator redirect him/...
0
votes
1answer
74 views

Plugin updates, change file permissions on WordPress

I have a strange problem with my wordpress websites. Every time I perform plugin updates, the file permissions on my server, are changed. I get the Forbidden error in my developer console for the ...
0
votes
0answers
2k views

admin-ajax.php 403 errors - no caching, permissions are fine

After putting up a recent dev site, I'm met with a very annoying 403 error I can't figure out. It's only an issue with non-WP core widgets (for example, Recent Posts Extended) and I can't add scripts ...
1
vote
1answer
101 views

How create a role with admin capability less 1 or 2?

I've created a new role and I need to give this role the full permissions and capability of an admin less create new admin user and edit plugin/themes. Is possible recall all and remove only the 3 I ...
0
votes
2answers
264 views

Wordpress won't allow for updates to plugins or Wordpress Core

It's been approximately a month since i can no longer update any plugins or wordpress core on my website. When I attempt to update the website it get's knocked off line. Jetpack then reactivates the ...
1
vote
1answer
164 views

allow non logged in user to upload images in media library

I have a website where I have a page that is accessible from any non logged in user . Its a form where I need to upload image through the form but when I try this its showing an error. But When I ...
0
votes
2answers
84 views

Permissions working but not working

Not sure what I changed in my Wordpress some days ago but today I was not able to update/install any plugin. I followed https://community.bitnami.com/t/wordpress-permissions-unable-to-create-directory/...
1
vote
1answer
88 views

Plugin updates change folder permissions

On one client WordPress site, when I update any plug-ins, all files and directories within that plug-in get their permissions automatically set to 766 - which means they aren't accessible by the ...
1
vote
0answers
989 views

WordPress php mysql errors - errcode: 13 permission denied

I'm developing a WordPress based website using the latest XAMPP release from Oct 9 2019 with Apache 2.4.41, MySQL/MariaDB 10.4.8 and php 7.3.10 using localhost on a Windows 10 machine. Since updating ...
1
vote
1answer
3k views

Correct wp-content ownership and permissions

I run an Ubuntu server for running many Wordpress websites. Every website is uploaded and managed by a separate system user. System users are allowed to FTP but not SSH into my server. And they are ...
2
votes
1answer
12k views

403 Forbidden - You don't have permission to access /wp-admin/admin-ajax.php on this server

When I try to make a backup of my wordpress website through plugin I recieve the following error: "403 Forbidden - You don't have permission to access /wp-admin/admin-ajax.php on this server." This ...
0
votes
0answers
216 views

Mamp Pro File Permissions

I use MAMP Pro 4 and Windows 10 to develop WordPress websites on my local computer. When an image is imported into the media library WordPress generates image sizes from this image and places them all ...
0
votes
0answers
507 views

How to allow each editors to only edit certain categories?

I have 6 users with an editor role, each editor should have access to 1 category (different for every 6 users). Besides this, I have another 20 users which are moderated by 1 editor, so 1 editor x 20 ...
2
votes
1answer
210 views

How can I set status='publish' for all featured images?

Background: I've come accross this WP issue: https://core.trac.wordpress.org/ticket/41445 In short: when you make a request to a post over the REST API, if the featured image was originally uploaded ...

1
2 3 4 5
9