Questions tagged [user-roles]

A user role is a group of users that share the same privileges or permissions on a system. Use this tag for questions about how user roles work in a particular security framework, or questions about the implementation of user roles in your program.

A user role is a group of users that share the same privileges or permissions on a system. For example, a blog platform may define a group of platform admins and groups of blog admins, blog editors and blog readers.

The concept is linked to , as a user role is a group of users who share common user permissions. It is common that a system allows users to have several roles, the user then has the union of all the permissions of their roles.

Use this tag for questions about how user roles work in a particular security framework, or questions about the implementation of user roles in your program.

944 questions
-1
votes
0 answers

Ubuntu : Permissions www-data problem on my work environment

Like few mounth, I have a user rights issue that I can't resolve. I work on a CMS which a run on a docker container but I develop in local on my PhpStorm IDE. For the changes to be saved on my IDE, I must be in $user. On the contrary, on my docker…
-1
votes
1 answer

Show only current user's orders in WooCommerce admin orders list

I Already Created a custom role "Marron" who can access WordPress dashboard and see all WooCommerce orders. But I want that "Marron" user role to be able to see only own orders in WP Admin Dashboard. (Just see without editing capabilities.) I tried…
Gelebrin7
  • 53
  • 6
-1
votes
1 answer

How to Create a user role-based permissions for each form in Dapper with Access Database in VB.NET

I want to create role-based permissions for each form. How method simple can I apply?. please guide me. If logged in as the owner then he can access to all forms while if logged in as an admin then the main form for the update button cannot be used…
roy
  • 693
  • 2
  • 11
-1
votes
1 answer

How to route dynamically based on user role in react-router, i.e: Different page for the same route based on the user role

I have a React application with React Router set up to handle navigation. In my application, I want to implement dynamic routing based on the user's role, where different pages are shown for the same route depending on the user's role. Currently, I…
Farooq Ali
  • 11
  • 1
  • 1
  • 4
-1
votes
2 answers

How can i add spring security based on roles authorization in spring boot where i have multiple entiites?

I study and am writing Spring Boot 3.0.4 project with MVC and want to add Spring Security to it. I want to create an electonic university diary, where all students and professors would be in database by from the beginning, and they need only login…
Gordey
  • 1
  • 1
-1
votes
1 answer

Symfony4.4: Create distinct URL for login (admin/user) (owasp recommandation)

I'm using symfony4.4.28. I want to create 2 distinct path for authentication: For Admin Role: --> mysite.com/admin/login For User Role: --> mysite.com/user/login Any suggestions? Note that is an OWASP recommendation for more security.
Riadh
  • 1,088
  • 2
  • 12
  • 25
-1
votes
1 answer

How can I pass an Azure Active Directory's App roles to an App through a JWT token?

We have an application with is registered in Azure Active Directory as "Foo". One of its App Roles is "Foo.Admin", which is required to administer the application. It allows Users as a member type. We have a user John Doe (john.doe@example.com)…
-1
votes
2 answers

Assign user to aws iam role with terraform?

Is it possible to assign an username to a role using terraform ? The closest I've found was aws_iam_policy_attachment or aws_iam_user_policy_attachment but both of them are for attaching policies..
Misha
  • 19
  • 6
-1
votes
1 answer

Duplicating woocomerce products for other types of users does not work

I created full permissions with the PublishPress Capabilities plugin. I tried to do this using the user role editor for the user "editor" Redaktor. When the user duplicates the product, he is redirected to the home page. The product does duplicate…
-1
votes
2 answers

change the role of a user to another role in laravel 8

i want to change the role of a user and from one role to another role but I am getting an error that says: Trying to get property 'Role_name' of non-object this is my update function in the controller public function update(Request $request,User…
-1
votes
1 answer

Add attachments based on user role to WooCommerce new user registration email

I want to add two pdf files to the new user registration e-mail of WooCommerce. Because I have two specific user roles customer and seller. I want to send all new sellers two pdf files from paths $path1 and $path3 and all new customers two pdf files…
-1
votes
1 answer

Wordpress Administrator user

By mistake, I changed the admin user role to a standard user. so now am not able to login to the WordPress dashboard. How can I recover the user role?
Shaar
  • 31
  • 1
  • 4
-1
votes
1 answer

Multiple user role to a custom post type

I've created a CPT, issue_chapter, and a new user translator. Now how a dropdown can be added with list of translators in this CPT? "Author" and "Translator" both should be there. I have created a metabox add_meta_box( 'translator', …
Paraz Ali
  • 21
  • 6
-1
votes
1 answer

Keep custom user role after order status is completed in Woocommerce

Here’s the situation: I initially set users that once they have completed a form, their user role is set to "Interviewed". The problem arises when the subscription payment gets renewed (user role goes back to "Subscriber") or there's some temporary…
-1
votes
1 answer

Graph API - Getting "Insufficient privileges" while updating using Profile

We have an application in production environment, today we found an issue that while updating "othermails" attribute of user through graph api returns insufficient privilege error.It was working couple of days back.We are using client credential…