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
0
votes
0 answers

Wordpress : How to setup User Roles for Custom Post Type

I'm working on a system for company using WordPress. To go about this I'm making a new custom post type EMPLOYEE and I need 2 corresponding users AGENT and CUSTOMER for it: TheAGENTuser can create and edit his ownEMPLOYEE(s), but not edit the…
0
votes
0 answers

Spring Security with multiple roles and Database authentication

I am trying to develop a Yoga Studio application which gives yoga courses and also sales some yoga products. I have three types of users, A customer--can register for a yoga course and also can buy yoga products. Faculty or Adviser--can do what the…
Ben
  • 137
  • 3
  • 12
0
votes
1 answer

User roles for individual objects - Parse

I have an app that allows users to host private chats. The chat can be public(no password to join) or private(password required). It also has settings for who can post in the chat(only the host or anyone who joins). I was thinking of having an…
Ethan Blackburn
  • 497
  • 5
  • 13
0
votes
0 answers

Wordpress Author Template with custom roles

I created an author template with the author.php file for wordpress and I recently added a custom role called 'guide_author', although when I try to view their author's page it just shows the details of the first author with a normal wordpress role…
Greenhoe
  • 1,051
  • 4
  • 18
  • 41
0
votes
1 answer

Postgresql user with specific privileges

In Postgresql how would I create a user that can do everything expect create roles, drop databases, drop roles, drop tables but it can create a database. Essentially this user will be used to access a database for an application that stores, updates…
dutchlab
  • 541
  • 1
  • 13
  • 27
0
votes
2 answers

Defining user roles in Database

I'm developing a web application which will shared by a few colleges in my city. The cumulative number of clerks and office staffs will be around a few ten thousands. I have created users like 'admission clerk','account staff', etc. and have…
user3388324
  • 572
  • 5
  • 18
0
votes
1 answer

Assigning different website user roles - asp.net IDENTITY

I'm preparing my next week homework about asp.net IDENTITY. I managed to create an asp.net identity with Visual Studio 2013 on a website and make it up and running (using vb.net). I have all the tables created for the users, roles etc (connected to…
Gloria
  • 1,305
  • 5
  • 22
  • 57
0
votes
1 answer

do account in mongodb's admin database take precedence over accounts in "normal" databases

Just a quick question re user accounts in mongodb. I have the following user configured in the admin database: > use admin switched to db admin > db.system.users.find({ user : "foobar_admin"}).pretty() { "_id" :…
Mark V
  • 185
  • 2
  • 9
0
votes
1 answer

Assign role to a user in Phalcon

I'm new to phalcon and i used to learn invo example application. In security.php i found : $auth = $this->session->get('auth'); if (!$auth){ $role = 'Guests'; } else { $role = 'Users'; } are there any…
0
votes
1 answer

Role Based authentication in MVC3

In my database I have some users and their roles. I can authenticate the user based on the user input. Now I want to retrieve the roles from the database and authenticate the user based on the role for every Controller.
Jegadeesh
  • 335
  • 2
  • 16
0
votes
0 answers

PeopleSoft BI Publisher showing Error generating report output: (235,2309)

I am Using Peoplesoft. I am creating a sample report in BI Publisher. I have created PS Query, DataSource, Report defn and all. While generating the report in Query Report Viewer, It is showing the following error. Error generating report output: …
Lemon
  • 13
  • 1
  • 6
0
votes
2 answers

All customers in Woocommerce are listed as role "none"

I was trying to echo a list of all users in woocommerce site. it worked with "role=subscriber", but it didn't work with "customer". when I checked the admin, I saw all customers are listed as "none" in the role column. How can I change the role for…
gargi
  • 249
  • 1
  • 8
  • 17
0
votes
1 answer

User access to pages that admin assigns

I am working on ASP.Net MVC application where admin can assign access to individual user on different pages. I applied user roles such as Admin, supervisor and End-user and [authorize] attribute. it is working fine but now i want user to access…
syed mohsin
  • 2,948
  • 2
  • 23
  • 47
0
votes
1 answer

remove other role column from wordpress user management page

I am using User Role Editor plugin to manage different user roles on my website, now on users list in admin section there are 2 columns Role and Other Role. The Role column is ok i want to remove that Other Role column, and also With user Role I…
Shani
  • 142
  • 2
  • 9
0
votes
1 answer

Handlebars function causing tight loop in code

I seem to have hit a snag in my app that is causing the browser to go into a very tight loop that never ends. In the app I have an unload function on a route that increments a value to count and display the number of times a project has been…
Peter Nunn
  • 2,110
  • 3
  • 29
  • 44