Questions tagged [user-access]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
42 views

Parent User and Child User - relate users

I need to create a system in which I have 2 types of users: Company User (C) and Employee User (E). I need C to be able to register as many E as necessary and for C users to be able to publish ...
user avatar
0 votes
0 answers
16 views

How to add a custom filter (by coding) before access one wordpress page ? And where to call the custom filter?

My requirement is to create a survey in wordpress, and the user needs to log in before answering. But the login page uses our own business account, so we created a login page ourselves (using .net ...
user avatar
1 vote
1 answer
38 views

if role is logged in then do something

I need some pro eyes please. Over all, I'm adding one button/link to the MAIN NAV depending on the logged in role. I have this “working” code: if ( ! function_exists( 'add_extra_item_to_nav_menu' ) ){ ...
user avatar
0 votes
0 answers
16 views

Restrict access for wp-admin panel

I need to restrict access to the admin panel for certain roles, namely, to leave the data available for editing in several post-types and upload pictures, how can I do this?
user avatar
  • 111
0 votes
1 answer
57 views

Plugin or ways to limit number of users logging in the website,

Would like to check if there is any way (or plugin) available that can: a.limit the number of concurrent users session by of user currently logged in to the website b.limit the number of users logging ...
user avatar
  • 13
0 votes
2 answers
21 views

Admin Page access

There is a admin page that gives me this error on the page itself when I try to access it: “Sorry, you are not allowed to access this page.” In the console it logs: “Failed to load resource: the ...
user avatar
0 votes
0 answers
17 views

How to add a "base" filter for all posts visible to visitors on the site?

I'd like to filter all posts ever visible to my visitors by the posts' custom meta (box) tag value. I added a post meta box "access_required" and I want to check if the post's ...
user avatar
0 votes
1 answer
30 views

Hide all pages except landing page

I'm working on a website that is still being built; however, the client would like to launch a landing page while it is being finished. What is the easiest way to make it so all the pages of the site ...
user avatar
0 votes
0 answers
12 views

Restrict admins from viewing subscribers admins are not overseeing

On our site, we have user hierarchies. User Admin A oversees users in Group A, User Admin B oversees users in Group B, and so on. We need to ensure User Admin A cannot view users in Group B and vice ...
user avatar
1 vote
0 answers
21 views

Multisite registration problem [closed]

We run a multi-site network instance of Wordpress at our institution. We synch our Active Directory daily in order to automatically create WP accounts for new users (e.g. basically subscribing them to ...
user avatar
  • 11
0 votes
1 answer
33 views

unique url access control

basically I'd like to have my page accessible by only certain listed users which we'll make a unique code. for example user A will be able to access with an URL like: www.mysite.com/?u=UserA but ...
user avatar
0 votes
0 answers
240 views

How to allow only vpn access to dashboard on Bitnami WordPress by IP address restricting

I'm trying to restrict access to the Bitnami WordPress(with apache) dashboard to VPN access only. The current environment is below. The WordPress site The site build by AWS Lightsail WordPress ...
user avatar
  • 31
0 votes
1 answer
24 views

Infinite redirects at front end if logged in user is not an Admin (Toolset Access)

I bought the toolset access plugin to handle specific user roles for languages. Once I log in as a user - which is not an admin - can be any like editor, contributor etc. The front end will not be ...
user avatar
0 votes
0 answers
17 views

External and internal admin access needed

I am developing a site with a friend on the other side of the contry. The Rasperry it is hosted on is on my local network. My friend can access the site externally and see the webpage no problem. ( my ...
user avatar
0 votes
1 answer
19 views

Specify the level of access to different pages at the time of user creation

We have a personal template that has a number of different links and pages , We want to implement the ability to specify the access level for the user when we create the user That is, specify whether ...
user avatar
0 votes
0 answers
21 views

Hide users on users.php with a specific meta value

I am using the User Switching plugin in order to allow sales agents to place an order on behalf of a customer. I want to allow sales agents to switch into their customers only instead of all customers....
user avatar
0 votes
1 answer
182 views

Hide front-end from every logged out user and redirect them to the default login page

I want to hide the front-end from every visitor/logged out user. To see the front-end, every user must have been registered and logged in. Any visitor that's logged out should be redirected to the ...
user avatar
0 votes
1 answer
209 views

Not able to access WP Admin, it says "Sorry, you are not allowed to access this page."

All of a sudden we are not able to get to the admin panel of the website. Once I log into /wp-login.php it redirects me to the homepage or /wp-admin (depending on whether I visited wp-admin in logged ...
user avatar
0 votes
1 answer
18 views

Is there a plugin for Wordpress for creating 'Accounts' where all users who belong to that Account can only see Account data? [closed]

Is there a plugin for something where I can group users into an 'Account' and then one particular Account is restricted to seeing only content targeted to that group (therefore a user would need to be ...
user avatar
0 votes
1 answer
174 views

Update user role for expired membership

Is it possible to use a function in functions.php that would automatically change user role when a membership goes from status "active" to "expired" ? For example : if an active ...
user avatar
  • 1
1 vote
1 answer
269 views

Can't access WordPress as an admin - but I can log in as a user!

Hi I have the following issue: I am the admin of a WordPress/WooCommerce shop that has been around for a while. As of today, when I try to log into Word Press as admin I either don't get access to the ...
user avatar
0 votes
0 answers
27 views

Anonymous users can not access website

I have inherited a WordPress shopping website with WooCommerce. Prior to me, retailers used the website to place orders for the items to be sold in their shops. As a result, a forced login was ...
user avatar
  • 1
0 votes
0 answers
100 views

Is there a way to allow users with "Subscriber" user role to access media library in backend and frontend

Is there a way to allow users with "Subscriber" user role to access media library in backend and front end with image editing ability? Subscriber can access the media library but unable to ...
user avatar
  • 1
0 votes
0 answers
15 views

How do I share a site only to one User at the time? Please help 🥺🙌

I have a problem and can't find a solution. The Problem I have a Google sheet embedded in my site and I want that only one User can enter the site at the same time so that user2 can't see User1 data ...
user avatar
2 votes
0 answers
106 views

Custom post type capabilities require "create_posts" to access the edit posts list page

I have a custom post type and a custom user role that I want to be able to do everything but delete and create this post type. However, this user role can't view the dashboard's list of posts for ...
user avatar
0 votes
1 answer
205 views

404 error on new pages but only for non logged in users?

So. Issue as title. Have researched lots but am near insanity! Have done all the 'Refresh permalink' thing Have edited .htaccess(*) and put generic rewrite code and refreshed permalinks again - the ...
user avatar
  • 1
0 votes
1 answer
18 views

How to Find The Email of a WP Admin Account

I recently started some freelance work, but the credentials my client gave me seem to have "Author" privileges at best. The section of the WP dashboard that usually has "Users", &...
user avatar
  • 111
0 votes
1 answer
37 views

How to make WP page accessile only to specific user roles

I am creating a website that consists of a "Home Page" (public) that has a login link to the WP login page, then, there will be different pages that are only accessible to specific logged ...
user avatar
0 votes
0 answers
84 views

How to logout the current user without notices and warnings?

I'm trying to avoid that subscriber users had access to admin. I'm using the following code: add_action( 'admin_init', 'lr_no_admin_u_access', 100 ); function lr_no_admin_u_access() { global $...
user avatar
0 votes
1 answer
603 views

How to generate expiring URL of the page?

I have a Wordpress site with sensitive private data and I email the link of the whole page to a client via email etc. How can I expire the link after 1 Session, So if a client opened the link to visit ...
user avatar
0 votes
1 answer
23 views

Using WP for user management

I want to use Wordpress for the user management of a simple web app. What I really need to do: Check if a user is logged in Save meta data to a logged in user Read meta data of a logged in user ...
user avatar
  • 1
0 votes
0 answers
19 views

hide theme files for admin beneath root

The purpose is to give full admin rights, but not to the proprietary theme files. Our website is on /root/public_html/ We want to move only the themefolder /root/public_html/wp-content/themes/ beneath ...
user avatar
1 vote
1 answer
33 views

How to restrict logged user to view only certain pages?

How can I restrict a specific logged user (current role is subscriber) via wp_get_current_user() to view only specific pages?
user avatar
1 vote
0 answers
1k views

wordpress user roles are not working

I have never assigned or used a role before on this site, I have just created a new user role with plugin "user role editor" and also assign an editor Role to other account, whenever I log ...
user avatar
0 votes
0 answers
21 views

How do I allow a user to purchase an expiring passcode to access part of my website, from my online store, similar to pay-per-view?

I am trying to add functionality to a website I am starting to create, which is a bit like a pay-per-view video channel, where a user (without registering) would go onto my online store and purchase a ...
user avatar
  • 101
0 votes
0 answers
74 views

Restrict Users to Only Edit Media Owned by Users in Their Role

I want my users to only be able to edit media that is owned by other users in the same role as them... So far all of my research online the past two days have resulted in almost nothing useful to me, ...
user avatar
1 vote
1 answer
932 views

Access denied on Published Pages but not on Wordpress /wp-admin/

I have a website, where all of a sudden I'm getting "403 Forbidden" in the status for the request url, and Access denied in the HTML page. This issue is happening only with the links of published ...
user avatar
1 vote
1 answer
16 views

Displaying different in-page content to cliente/admin

i'm a young informatic engineer student who is developing his first wordpress website. It is a booking website when a client can see the available hours in certain local and book it, and the local can ...
user avatar
0 votes
1 answer
38 views

Remove plugin settings from post creation page for a user role

I want to remove plugin settings from the bottom of the post creating page for a given user type. I want to remove the "Plugin Organization" drop-down from the post creating page for a specific user ...
user avatar
  • 13
0 votes
1 answer
339 views

How to download file without login to wordpress account?

The following link is used to share individual customer/user to download invoice PDF file. But each time they have to login and download PDF file. I want this link should download PDF file without ...
user avatar
0 votes
1 answer
60 views

Can I "protect" a page with a form asking for an email address?

I am developing a viewing room for an art gallery. Viewing rooms are pages with content that can only be seen by visitors if they provide their email address to add them to a newsletter. Something ...
user avatar
  • 1,607
0 votes
0 answers
26 views

Custom user roles are unable to login

I have created custom user roles 'teacher' and 'student' using members plugin. But they are unable to log in using wp_signon but the admin and other roles are able to log in. I tried using my custom ...
user avatar
  • 3
0 votes
1 answer
250 views

How To Remove Import/Export Option From Tools?

I want to give admin access to a freelancer. One plugin named controlled admin access done most of the part for me, expect it don't have option to select or deselect subtools.
user avatar
  • 13
0 votes
1 answer
483 views

grant multiple roles access to specific admin menu item

I am writing a plugin that offers an admin menu item which only a specific, custom user role ("customrole" in the example) can access. I have implemented this as follows, and it works: function ...
user avatar
  • 17
1 vote
0 answers
10 views

Limit post display to post authors and create an exception for specific pages

I'm trying to limit the display of the content to authors and need to make specific pages viewable by everyone (i.e Dashboard / Data entry ...) Any suggestions on how to add specific rules to display ...
user avatar
  • 11
0 votes
0 answers
33 views

How can I limit access to uploaded media depending on the logged in user's user role?

I have a pretty straight-forward Wordpress site that uses a plugin called Subway to restrict access on the page only to logged in users. There's also the following .htaccess-rule: RewriteCond %{...
user avatar
  • 101
1 vote
0 answers
31 views

User Session and Stored Cookies not get removed

I am using below code to remove the user session, cookies etc, but its not working. Please help me to resolve this issues $userid = get_current_user_id(); //get current user id sleep(30); //to ...
user avatar
1 vote
0 answers
78 views

WordPress login problem

I have a rather strange problem with my membership created completely through code even if on WordPress. Basically if I try to log in with a blocked URL for example: https://example.com/example ...I ...
user avatar
0 votes
1 answer
30 views

When add analytics script, wordpress user login not working

When i add Google analytics script the below one https://www.googletagmanager.com/gtag/js?id=UA-XXXXXX-X″> (with actual container ID) , my user login not functioning well. I checked console, resolved ...
user avatar
0 votes
0 answers
26 views

Blank dashboard with no access

is there any idea how may i fix this issue (in a photo). I use reset wordpress plug-in last time and then it is happen. Regards,
user avatar

1
2 3 4 5
8