Questions tagged [roles]

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

In various systems, roles define a group of users and organize permissions into a more manageable structure. In systems which feature roles, a user may belong to many roles, and typically roles can be nested hierarchically.

Roles are a common feature in operating systems as well as database management systems.

Further Reading

3030 questions
1
vote
1 answer

Do Per-Request (Custom) Roles exist for ASP.NET and ActiveDirectory?

My vision includes having globally defined roles which are pushed from AD but also I'd like to be able to add to Context.User.IsInRole("ATransientRoleForThisDocumentOnly") and have that work... I thought about pushing roles into the…
Famous Nerd
  • 416
  • 4
  • 12
1
vote
1 answer

Cloudcontrol user roles

How can I authorize a new user to perform only selected tasks. In my spcial case I'd like to have a user who has more rights than "ReadOnly" but less than the next role "Admin", so the user can create workers. I need an user who can perform some…
Mike Gitar
  • 11
  • 1
1
vote
3 answers

Google AppEngine: Setting up user roles and permissions

I am undergoing Udacity's Web Development course which uses Google AppEngine and Python. I would like to set up specific user roles, and their alloted permissions. For example, I may have two users roles, Employer and SkilledPerson, and assign…
hyang123
  • 1,208
  • 1
  • 13
  • 32
1
vote
1 answer

ASP.NET MVC 4 SimpleMembershipProvider - IsConfirmed property default to false

I have default Internet Application in ASP.NET MVC 4. So I'm using SimpleMembershipProvider and I wanna make IsConfirmed property what sits in DB to false on default and then activating accounts via my own Administrator Panel. No Emails, no tokens.…
ext
  • 128
  • 1
  • 7
1
vote
2 answers

Multiple Authentication methods, or implement role based Authentication?

I have a problem I am trying to solve as smooth as possible, and also keep it as safe and flexible as possible! I have a web app where I have 2 kinds of users; Back end users (trusted users; Admins!), and Customers (Front end users; not trusted in…
dr. squid
  • 786
  • 2
  • 6
  • 14
1
vote
1 answer

Oracle SELECT granted but still can't access table across users

Can any one see what's wrong with this: User ABC: create table def.something ( id number, ref number references def.anotherTable(id) ); create role ROUser; grant select on def.something to ROUser; grant ROUser to ghi; User DEF: select * from…
Xophmeister
  • 8,884
  • 4
  • 44
  • 87
1
vote
1 answer

Symfony2 Groups hierarchy

I'm starting whith Symfony2 and I'd like to group users in hierarchical categories and to give ROLES to them. The application will need a lot of categories, and some of them will parent hundreds of others (which ones could be parents of others too).…
MendelYev
  • 144
  • 7
1
vote
1 answer

Check login not work in Symfony2

i am try configure the firewall to autenticate users. This step work fine, because when i put a wrong user in the login form, the application return the message "Bad credentials.", but when the user and password are correct, the application fails…
ramiromd
  • 2,019
  • 8
  • 33
  • 62
1
vote
1 answer

Idea's on how to use ASP .Net MVC4 with ADFS and User roles and information

I'm building a Web Application using ASP.Net and MVC4. This web application is going to be used by another company but we are hosting it. We were told that we had to use ADFS. We don't know what kind of information is going to come over to us in…
Jim Kiely
  • 365
  • 2
  • 6
  • 24
1
vote
1 answer

How do i get regular expressions to work in this rails app?

I am new to rails and regular expressions. I am trying to make an application in which Users can register with one of two types of email address: user@a.edu or user@b.edu. I am making a page that shows all users that are not the type of the…
Philip7899
  • 4,599
  • 4
  • 55
  • 114
1
vote
3 answers

How to design a system to filter requests on roles?

I have requirement to design a WCF Service based system to filter requests on roles in C# Rules User can access X SuperUser can access Y Admin can access Z Database Resource AccessControl X User,SuperUser,Admin Y …
Nevin Mathai
  • 2,316
  • 13
  • 39
  • 54
1
vote
0 answers

Spring security 3.1.4 : Is role hierarchy working with taglib authorize/authentication?

I re-post an old question, because i'm stucked with that...The question is expressed in the title... Spring security 3.1.4 : Is role hierarchy working with taglib authorize/authentication ? If someone have any ideas to debug , it would be great…
ZheFrench
  • 1,164
  • 3
  • 22
  • 46
1
vote
1 answer

log in page appears again after logging in MVC3

good day! now here's my issue in my project. everytime i log in it always redirect again in log in page. i tried to put a breakpoint in my controller and it happens that,at first log in when i login and click f10 in my controller it goes in all the…
Vinz with the Z
  • 157
  • 1
  • 14
1
vote
1 answer

issue on redirecting on log in page when already log in in Mvc3

im having a hard time trying to solve this issue. when i input a username and a password ive always redirect again in log in page. why this happen??? here's my code in login account controller: [HttpPost] public ActionResult…
Vinz with the Z
  • 157
  • 1
  • 14
1
vote
1 answer

Changing roles in rails 4

I created the app with the help of rails composer. Using devise for authentication and cancan for managing roles. So I have 3 roles by default: Admin, User and VIP. I deleted VIP, because I don't need it. Run rake db:seed to create a default admin.…
aprok
  • 1,147
  • 11
  • 25