Questions tagged [permissions]

for questions regarding permissions of different user groups in wordpress

Filter by
Sorted by
Tagged with
0
votes
1answer
19 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
7 views

Directory and file permissions

I just installed a new server with Ubuntu 20, and after applying permissions to the directory structure I got the error "Installation failed: Could not create the directory" Usually these ...
0
votes
0answers
8 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
34 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
62 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"...
0
votes
0answers
19 views

Installing SkimLinks on WordPress Business Plan

I'm trying to add SkimLinks to my website. I am using a pre-designed theme that I found on Wordpress (It's the Cubic theme). According to SkimLinks they don't recommend using the WordPress built in ...
1
vote
0answers
15 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
15 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
22 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
11 views

Security and permissions for WP site hosted on a raspberry pi 4 and errors importing an Updraft backup file from Google Drive into the Updraft plugin

This is my first try both a WP site and a Raspberry Pi set up as a server-I apologize if this question seems elementary. I bought a WP site and set up the code on a Raspberry Pi 4 with Debian 10 ...
0
votes
0answers
22 views

hide pages for the page list for some user role

I need a way to make some pages not visible for 3 users role (editor, contributor, author) on the page list (edit.php?post_type=page). I think it is about permissions but i dont know how to do it. I ...
0
votes
0answers
12 views

Multisite register url got 403 error

I have a Multisite wordpress installed by "subdomain" configuration. My main site and sub-sites and all of addresses works correctly Except the Registration url: http://site.example.com/wp-login....
0
votes
0answers
14 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
16 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
9 views

Custom home page instead of profile page

I would like to display a custom welcome page when a user with a specific role is connected instead of profile.php page. I created a redirection. All work fine. function wpse_redirect_profile_access(...
0
votes
0answers
39 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 ...
1
vote
1answer
622 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
17 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
28 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
33 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
30 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
33 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
435 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
35 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
149 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 ...
0
votes
1answer
58 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
32 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
28 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 ...
0
votes
0answers
13 views

upload permissions for imported users

I re-created a WP site and imported users from the old site to the new; they all have their own profile with pics, etc. However, the only way people can upload media is if I change the permissions of ...
0
votes
0answers
30 views

Restricting navigation/site structure management by group permissions

would have thought this is/was doable, even if not with out-the-box functionality then with some well established and well know plugins but tried searching but can't seem to find the answer/solution. (...
1
vote
0answers
518 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
1k 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
5k 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
150 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
199 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
112 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 ...
0
votes
1answer
14 views

Different permissions for same type of post

I am building a website that has a bunch of pages and two post pages: News What's New Both of these pages will be like category pages. How can I allow one set of users to only create content for the ...
0
votes
0answers
22 views

CentOS 7 cPanel - Setting Correct Permissions

I have a pre existing server running whm/cpanel which has a Wordpress site that needs to be moved to its own server. I have move the files and database across and everything is ready except for a few ...
0
votes
1answer
135 views

read_post meta capability for anonymous users

read_post is a meta capability that can be used to check if a user can read a post. It can be used, for example, like this: if ( current_user_can('read_post', $post_ID) ) { // do something } No ...
0
votes
0answers
231 views

MAMP File Permissions

I am using MAMP Pro 4 on Windows 10 to develop WordPress sites. When an image is imported into the media library, the original image is placed in the uploads folder without proper permissions. ...
0
votes
0answers
28 views

How to make a plugin api route have permission?

Hi I have a plugin for bookings installed. I would like to make WP headless so I'm using api calls of course, and my plugin has api routes to call. However, they are protected. :( How do I go ...
0
votes
0answers
27 views

Create a custom “you dont have permission” message

How can I create a custom "you don't have permission" message? I'd like to display some html here. Is that possible?
1
vote
4answers
6k views

Wordpress and Plugins can't be updated

I have a problem - when I click on "Wordpress update", I receive this message: Downloading update from https://downloads.wordpress.org/release/wordpress-5.1-new-bundled.zip… Unpacking the update… ...
0
votes
0answers
15 views

A WP dev site that displays content from a live site's database but cannot write to wp_posts?

Is there a way to setup a Wordpress site that uses another site's database but cannot write to specific tables (like wp_posts)? Basically I'm trying to set up a testing site that I could use to test ...
0
votes
1answer
747 views

Wordpress users table missing indexes

I had someone on fiverr design a wordpress website for me awhile back. They sent me the database when they were done and I imported it on my server and set everything up. What I've since realized is ...
0
votes
1answer
108 views

Wordpress and Wordpress-test-lib not getting added to tmp folder

I’ve installed the wpcli and php unit testing to my imac and the wordpress and wordpress-test-lib files were added to my tmp folder as they should have. I used this to install the setup. bash bin/...
0
votes
1answer
888 views

failed to open stream: Permission denied for WordPress plugin

I'm installing my website on a new hosting company. All WordPress directories are chmod to 775 and the owner (plus group) is my account username, the same owner as when I create new files manually. ...
0
votes
1answer
64 views

Is there any way to make myself an admin?

Long story short, my client has a website with another company. They didn't make him an admin, but he does have access to the dashboard. I can't tell what his role is, but it's probably along the ...
0
votes
2answers
2k views

Error “Sorry, you are not allowed to access this page”

I renamed plugins folder, removed unused themes, checked wp_capabilities for my website, It's getting error like below after login page and redirecting to home page.
0
votes
1answer
901 views

Can't add or delete plugins - but I'm an admin [closed]

as the title says, I have Administrator privileges but I don't have the permission to add or delete plug-ins. (Button/Links just aren't on the page) If I go to .../wp-admin/plugin-install.php I get ...

1
2 3 4 5
8