Questions tagged [rbac]

RBAC is short for Role Based Access Control, an authorization and access control model in which access to restricted resources is granted or denied based on whether the requester's identity is associated with one or more role classifications required by the restricted resource.

Traditionally, security systems have often been structured to specify which individuals are allowed to access each restricted resource. As the number of restricted resources and number of individuals grows, this quickly becomes difficult to administer. When a person leaves the organization or joins the organization, the person must be removed from or added to all the relevant access control lists.

In Role Based Access Control, a level of abstraction in inserted between the restricted resource and the identities permitted to use that resource. A role descriptor is defined, typically aligned with job function (operator, manager, etc). The role descriptor is added to the access control list of the restricted resources. Individual identities are associated with or tagged with the role descriptor. When access to a restricted resource is requested, access can be granted by checking to see if the requesting identity is associated with one or more of the role definitions permitted to access the resource.

In this configuration, the number of role descriptors is relatively small even when there are a large number of users or resources involved, making the overall system easier to manage and administer than direct-reference access control lists.

1107 questions
0
votes
1 answer

Advanced Role-Based Access Control

So, I've done some research on RBAC and ACL but all examples are very "1 dimensional" and doesn't quite fit my needs (I think at least). So, what I have is countries that have a president, vicepresi, Coach1, etc. Currently I have 14 countries, and…
GlomB
  • 11
  • 2
0
votes
1 answer

When we use Yii RbAC?

Because all the actions are done via Controllers in Yii, by means of controller filters and some checking in actions, a good security measure can be achieved. For sure this kind of checking is faster than RbAC (if my statements are wrong please let…
hpaknia
  • 2,769
  • 4
  • 34
  • 63
0
votes
1 answer

Access control lists

I've been reading up on (Role-Based) Access Control Lists for an upcoming project and am having some troubles figuring out how it will work for me. In the examples I've seen, they always talk about allowing and denying access to the particular…
nickf
  • 537,072
  • 198
  • 649
  • 721
0
votes
1 answer

Implementing RBAC functionality in UNIX

Hey please help me with this problem. I am new to UNIX systems and i want to ask is Role-Based access control possible in UNIX systems. Please see the details below: Your manager wants to implement RBAC functionality. Your shop uses a UNIX system.…
theGame
  • 383
  • 4
  • 6
  • 18
0
votes
1 answer

Yii RBAC, Role change in runtime

I am building up a dynamic RBAC system for Yii and I don't know how to handle this problem: The moderators can change the roles of the Users, furthermore the User can change it too by getting a different qualification (let's say achievement, so s/he…
notsoogood
  • 13
  • 2
0
votes
3 answers

Yii. Get Users based on role

I am using native CDbAuthManager to implement RBAC in my webapp. How can I get all the users who has permission to do a role? Suppose I have role named updateprofile. I want to get all the users assigned to that role. I searched the documentation…
dInGd0nG
  • 4,162
  • 1
  • 24
  • 37
0
votes
1 answer

How to implement default Roles on a Role Based Access Control

I'm implementing a Role Based Access Control system . Users have Roles (many-to-many) Roles have Permissions (many-to-many) Roles have Privileges (many-to-many) A Role belongs to A Customer I want to have 2 default Role s : Admin and Normal. The…
kommradHomer
  • 4,127
  • 5
  • 51
  • 68
0
votes
2 answers

yii rbac: check autorizations on groups instead of users

I have a question about the rbac system. I think I've pretty well understood it but I need more informations about a special case. I would like to do the autorisations on groups instead of users. I mean for instance the group "HR" has permission to…
Michaël
  • 1,120
  • 1
  • 15
  • 30
0
votes
1 answer

Execute Oracle RAC cluster commands via Solaris RBAC?

Executing Oracle RAC cluster management commands such as $ORA_CRS_HOME/bin/crs_start requires root permissions. Using Solaris RBAC (Role-Based Access Control), one can give a non-root user permissions to execute those commands, but the commands…
David Citron
  • 43,219
  • 21
  • 62
  • 72
0
votes
1 answer

Yii simple rbac - checkAccess is not executed

I'm new to Yii. I used this tutorial: http://www.yiiframework.com/wiki/328/simple-rbac/ to make admin role working. My accessRules function in controller looks like this: public function accessRules() { return array( …
latata
  • 1,703
  • 5
  • 27
  • 57
0
votes
0 answers

Issue with Yii RBAC AuthManager and Bizrules

Example: I want to allow someone to update only specific blog posts. I would think the rules would be laid out like this, but it doesn't work: $auth->createOperation('update_post_category', '', 'return ( $params["category"] == $data["category"]…
Sarke
  • 2,805
  • 2
  • 18
  • 28
0
votes
1 answer

Preventing Infinite Redirects in Access Control Library

I am working on an Open Source Role Based Access Control Library for PHP called PHP-Bouncer. PHP-Bouncer allows the user to define a list of roles, which pages each role provides access to, and each role may also define a list of pages which…
Brendon Dugan
  • 2,138
  • 7
  • 31
  • 65
0
votes
4 answers

assign a user a role from admin creates a user, in Yii Rbac extension Rights

I have installed rights as suggested by most people, its easy to implement Role based access control. but I am stuck at a problem.. I need to assign a user a role from admin, who can change their roles..etc.. As rights doesn't create models for the…
user1135655
  • 107
  • 1
  • 2
  • 9
0
votes
1 answer

Yii framework: CPhpAuthManager error

I try to make a RBAC with this guide I made it work without errors so far, but i got stuck now for a few hours, cause the rules in my model just wont work. I try to test the reader role with this code:
Barta Tamás
  • 889
  • 4
  • 15
  • 36
-1
votes
1 answer

Custom RBAC with CanCan (or other plugin?)

i'm looking for a customized RBAC solution for an application i am making. The main difference than casual CanCan would be that the RBAC is not relying on a User model, but rather on some other models, totally custom. For instance, a user belongs to…
Spyros
  • 46,820
  • 25
  • 86
  • 129