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
1 answer

MVC - Access levels within Roles

Looking for a bit of advice and direction with access levels within Roles. I have a MVC Project that makes use of AspNetRoles, for example I have the following roles set-up: Admin CustomerIndex CustomerCreate In my Customer Controller I…
0
votes
1 answer

Product management for wordpress

Hi I wanted my wordpress site putting user role for product I want the user1 can only see and count the product he uploaded and he cannot see the other product uploaded by the other user is there a free plugin for that in wordpress ?
0
votes
1 answer

sitecore roles and workflow

I have a requirement where the roles are content authors, content reviewers, and publishers. Content authors should be able to submit content, content reviewers can create, edit, and approve content, and publishers can do all of these things…
Newbie
  • 361
  • 2
  • 15
  • 33
0
votes
1 answer

Convert user access query from postgreSQL to SQL Server

I am working on converting a PostgreSQL query to SQL server and trying to understand what exactly the query below is doing . I understand the joins but the rest is not clear at all . Could anyone please help me out here . select c.name FROM CNT…
user3844877
  • 493
  • 4
  • 9
  • 18
0
votes
1 answer

info for page if requiment roles

i have a controller which requirement a role names "Admin": it's part of controller: [Authorize(Roles="Admin")] public class RolesAdminController : Controller { public RolesAdminController() { } public…
Marek Woźniak
  • 1,766
  • 16
  • 34
0
votes
3 answers

How to kill session of login users when admin changes right asp.net?

I am working on a project which have 3 Roles Admin Super User User Admin is able to control every users. When I am changing any user rights, I want to see if user already loged in or not, if so then kill that user session and redirect him/her…
Hassaan
  • 3,931
  • 11
  • 34
  • 67
0
votes
1 answer

Symfony2 - Using controller security for user and category

I am trying to restrict user access from accessing the CRUD access in the controller. I have a bi-directional OneToOne relationship with User and Category. It's setup to only allow 1 user to be able to access 1 blog. I am testing this by logging in…
chance
  • 315
  • 5
  • 15
0
votes
2 answers

Symfony2 - Adding controller security to limit the user to a specific blog access

I am attempting to implement security to restrict access to specific blogs by using USER_ROLE for each user. Each blog page has 1 owner that can post to it. This is built on what I've learned from the fantastic tutorials from KNP University.…
joe joe
  • 13
  • 4
0
votes
1 answer

Symfony2 - User specific form based on role access

I have a form that has a category field drop down that has a (OneToMany/ManyToOne) to a post entity. Situation: Right now the client has to select category in the drop down and they can make the mistake of selecting the wrong category and this will…
chance
  • 315
  • 5
  • 15
0
votes
1 answer

WordPress email alerts when existing user role changes (don't send emails to new users)

On my WordPress website I use this code in my theme's functions.php file to send automatic email to users when their role has been changed. The roles are updated manually by the administrator. function user_role_update( $user_id, $new_role ) { …
Anna
  • 137
  • 9
0
votes
1 answer

WordPress Buddypress User roles and capabilities and Protected contents for specific user levels

I am trying to set specific role/permissions for users in BuddyPress using plugin 'role manager' (http://www.im-web-gefunden.de/wordpress-plugins/role-manager/) but some how it's not working as it should be. Here is my settings in WP dashboard: Am…
Dipak G.
  • 715
  • 1
  • 4
  • 18
0
votes
1 answer

Remove User from Roles in ASP.NET Identity 2.0.1

I customized some functionalities of Identity system to fit my needs. I have the following ApplicationUserManager: public class ApplicationUserManager : UserManager { public ApplicationUserManager() : base(new…
amp
  • 11,754
  • 18
  • 77
  • 133
0
votes
1 answer

cakePHP: filter rows before passing to view based on user role

I developed a cakePHP application for managing some books and it uses 'Auth' componenet for its authentication mechanism. I have 2 user roles: admin & user. In this application i have below rules for Book and its index view: every admin can view…
VSB
  • 9,825
  • 16
  • 72
  • 145
0
votes
1 answer

Creating different user roles in Oracle APEX

I am supposed to create an inside web based APEX application for students working at Oracle. The login is managed via Single-Sign-On. Also, I need to have two user roles, Student and Administrator, each of them with different privileges and…
Lea
  • 211
  • 1
  • 2
  • 14
0
votes
1 answer

How to setup Zend 2 ACL roles for single objects

my simple data model: Users can create Articles, which makes them the Owner of this particular Articles object. Users can also invite other Users to contribute on their Articles, which makes the other Users Contributors of this particular…
Matthias Posch
  • 537
  • 6
  • 27