Top "Roles" questions

In various access control systems, roles define a group of users and organize permissions into a more manageable structure.

ASP.Net MVC 3 Redirect UnAuthorized User not to loginUrl

i have a project using ASP.Net MVC3 and using membership for roles. i use authorize in every controller. eg: […

asp.net-mvc-3 redirect asp.net-membership roles unauthorized
Authorization Asp.net web.config

I have an application that has a backoffice. This backoffice was isolated with the use of roles like this: <…

c# asp.net security web-config roles
HttpContext.GetOwinContext().GetUserManager<AppRoleManager>() return null

I've used ASP.NET Identity 2 for creating role but the result of HttpContext.GetOwinContext().GetUserManager<AppRoleManager>() was null. …

c# asp.net-identity identity roles owin
Verifying roles & authentication with Passport.js

So I'd like to make some routes in an API that will show different data based on the user role, …

node.js express roles passport.js
Get all users with role in Laravel

I'm working in this Laravel project which has this structure users: id | first_name |... roles: id | name assigned_roles: id | …

php laravel laravel-4 eloquent roles
Symfony granting path access to multiple roles in security.yml

Hi I would like to be able to allow access to a path in security.yml based on the user …

php security symfony roles access-control
How do I manually set a user's role in ASP.NET MVC?

This project I'm working on requires me to keep a local db of admin users and use an external db …

asp.net asp.net-mvc roles membership-provider
MongoDB - Not Authorized to Execute Command

I have successfully enabled authorization on MongoDB and I have created an account on the admin database and then I …

mongodb shell authentication roles createuser
Regenerate GRANTs for roles across schemas

Similar to this question, I would like to know how to generate all GRANT statements issued to all roles in …

sql oracle roles grant
Simple custom roles for windows authentication in asp. net?

At our company network, the roles in Active Directory(AD) are not appropriately assigned for my application. So I created …

asp.net asp.net-mvc asp.net-membership roles