File tree 26 files changed +29
-29
lines changed
26 files changed +29
-29
lines changed Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ $acl->addRole($roleGuests);
515
515
$acl->addRole($roleAdmins);
516
516
517
517
// Have 'Administrators' role inherit from 'Guests' its accesses
518
- $acl->addInherit($rollAdmins , $roleGuests);
518
+ $acl->addInherit($roleAdmins , $roleGuests);
519
519
```
520
520
521
521
<a name =' serialization ' ></a >
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ $acl->addRole($roleGuests);
515
515
$acl->addRole($roleAdmins);
516
516
517
517
// Have 'Administrators' role inherit from 'Guests' its accesses
518
- $acl->addInherit($rollAdmins , $roleGuests);
518
+ $acl->addInherit($roleAdmins , $roleGuests);
519
519
```
520
520
521
521
<a name =' serialization ' ></a >
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ $acl->addRole($roleGuests);
515
515
$acl->addRole($roleAdmins);
516
516
517
517
// Have 'Administrators' role inherit from 'Guests' its accesses
518
- $acl->addInherit($rollAdmins , $roleGuests);
518
+ $acl->addInherit($roleAdmins , $roleGuests);
519
519
```
520
520
521
521
<a name =' serialization ' ></a >
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ $acl->addRole($roleGuests);
515
515
$acl->addRole($roleAdmins);
516
516
517
517
// Have 'Administrators' role inherit from 'Guests' its accesses
518
- $acl->addInherit($rollAdmins , $roleGuests);
518
+ $acl->addInherit($roleAdmins , $roleGuests);
519
519
```
520
520
521
521
<a name =' serialization ' ></a >
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ $acl->addRole($roleGuests);
515
515
$acl->addRole($roleAdmins);
516
516
517
517
// Have 'Administrators' role inherit from 'Guests' its accesses
518
- $acl->addInherit($rollAdmins , $roleGuests);
518
+ $acl->addInherit($roleAdmins , $roleGuests);
519
519
```
520
520
521
521
<a name =' serialization ' ></a >
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ $acl->addRole($roleGuests);
515
515
$acl->addRole($roleAdmins);
516
516
517
517
// Have 'Administrators' role inherit from 'Guests' its accesses
518
- $acl->addInherit($rollAdmins , $roleGuests);
518
+ $acl->addInherit($roleAdmins , $roleGuests);
519
519
```
520
520
521
521
<a name =' serialization ' ></a >
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ $acl->addRole($roleGuests);
515
515
$acl->addRole($roleAdmins);
516
516
517
517
// Have 'Administrators' role inherit from 'Guests' its accesses
518
- $acl->addInherit($rollAdmins , $roleGuests);
518
+ $acl->addInherit($roleAdmins , $roleGuests);
519
519
```
520
520
521
521
<a name =' serialization ' ></a >
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ $acl->addRole($roleGuests);
515
515
$acl->addRole($roleAdmins);
516
516
517
517
// Have 'Administrators' role inherit from 'Guests' its accesses
518
- $acl->addInherit($rollAdmins , $roleGuests);
518
+ $acl->addInherit($roleAdmins , $roleGuests);
519
519
```
520
520
521
521
<a name =' serialization ' ></a >
Original file line number Diff line number Diff line change @@ -475,9 +475,9 @@ Puede agregar cualquier parámetro a la función y pasar un array asociativo en
475
475
476
476
## Herencia de roles
477
477
478
- Se pueden construir estructuras complejas usando la herencia que ` Phalcon\Acl\Role ` proporciona. Los roles pueden heredar de otros roles, permitiendo acceso a super conjuntos o subconjuntos de recursos. There are two ways to use role inheritance :
478
+ Se pueden construir estructuras complejas usando la herencia que ` Phalcon\Acl\Role ` proporciona. Los roles pueden heredar de otros roles, permitiendo acceso a super conjuntos o subconjuntos de recursos. Hay dos formas de utilizar la herencia de roles :
479
479
480
- 1 . You can pass the inherited role as the second parameter of the method call, when adding that role in the list .
480
+ 1 . Puede pasar el rol heredado como segundo parámetro al método ` addRole() ` , cuando agrega el rol a la lista .
481
481
482
482
``` php
483
483
<?php
@@ -499,7 +499,7 @@ $acl->addRole($roleGuests);
499
499
$acl->addRole($roleAdmins, $roleGuests);
500
500
```
501
501
502
- 2 . You can setup the relationships after roles are added
502
+ 2 . Puede configurar las relaciones después que los roles se agregaron
503
503
504
504
``` php
505
505
<?php
@@ -515,7 +515,7 @@ $acl->addRole($roleGuests);
515
515
$acl->addRole($roleAdmins);
516
516
517
517
// Have 'Administrators' role inherit from 'Guests' its accesses
518
- $acl->addInherit($rollAdmins , $roleGuests);
518
+ $acl->addInherit($roleAdmins , $roleGuests);
519
519
```
520
520
521
521
<a name =' serialization ' ></a >
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ $acl->addRole($roleGuests);
515
515
$acl->addRole($roleAdmins);
516
516
517
517
// Have 'Administrators' role inherit from 'Guests' its accesses
518
- $acl->addInherit($rollAdmins , $roleGuests);
518
+ $acl->addInherit($roleAdmins , $roleGuests);
519
519
```
520
520
521
521
<a name =' serialization ' ></a >
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ $acl->addRole($roleGuests);
515
515
$acl->addRole($roleAdmins);
516
516
517
517
// Have 'Administrators' role inherit from 'Guests' its accesses
518
- $acl->addInherit($rollAdmins , $roleGuests);
518
+ $acl->addInherit($roleAdmins , $roleGuests);
519
519
```
520
520
521
521
<a name =' serialization ' ></a >
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ $acl->addRole($roleGuests);
515
515
$acl->addRole($roleAdmins);
516
516
517
517
// Have 'Administrators' role inherit from 'Guests' its accesses
518
- $acl->addInherit($rollAdmins , $roleGuests);
518
+ $acl->addInherit($roleAdmins , $roleGuests);
519
519
```
520
520
521
521
<a name =' serialization ' ></a >
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ $acl->addRole($roleGuests);
515
515
$acl->addRole($roleAdmins);
516
516
517
517
// Have 'Administrators' role inherit from 'Guests' its accesses
518
- $acl->addInherit($rollAdmins , $roleGuests);
518
+ $acl->addInherit($roleAdmins , $roleGuests);
519
519
```
520
520
521
521
<a name =' serialization ' ></a >
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ $acl->addRole($roleGuests);
515
515
$acl->addRole($roleAdmins);
516
516
517
517
// Have 'Administrators' role inherit from 'Guests' its accesses
518
- $acl->addInherit($rollAdmins , $roleGuests);
518
+ $acl->addInherit($roleAdmins , $roleGuests);
519
519
```
520
520
521
521
<a name =' serialization ' ></a >
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ $acl->addRole($roleGuests);
515
515
$acl->addRole($roleAdmins);
516
516
517
517
// Have 'Administrators' role inherit from 'Guests' its accesses
518
- $acl->addInherit($rollAdmins , $roleGuests);
518
+ $acl->addInherit($roleAdmins , $roleGuests);
519
519
```
520
520
521
521
<a name =' serialization ' ></a >
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ $acl->addRole($roleGuests);
515
515
$acl->addRole($roleAdmins);
516
516
517
517
// Have 'Administrators' role inherit from 'Guests' its accesses
518
- $acl->addInherit($rollAdmins , $roleGuests);
518
+ $acl->addInherit($roleAdmins , $roleGuests);
519
519
```
520
520
521
521
<a name =' serialization ' ></a >
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ $acl->addRole($roleGuests);
515
515
$acl->addRole($roleAdmins);
516
516
517
517
// Have 'Administrators' role inherit from 'Guests' its accesses
518
- $acl->addInherit($rollAdmins , $roleGuests);
518
+ $acl->addInherit($roleAdmins , $roleGuests);
519
519
```
520
520
521
521
<a name =' serialization ' ></a >
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ $acl->addRole($roleGuests);
515
515
$acl->addRole($roleAdmins);
516
516
517
517
// Have 'Administrators' role inherit from 'Guests' its accesses
518
- $acl->addInherit($rollAdmins , $roleGuests);
518
+ $acl->addInherit($roleAdmins , $roleGuests);
519
519
```
520
520
521
521
<a name =' serialization ' ></a >
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ $acl->addRole($roleGuests);
515
515
$acl->addRole($roleAdmins);
516
516
517
517
// Have 'Administrators' role inherit from 'Guests' its accesses
518
- $acl->addInherit($rollAdmins , $roleGuests);
518
+ $acl->addInherit($roleAdmins , $roleGuests);
519
519
```
520
520
521
521
<a name =' serialization ' ></a >
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ $acl->addRole($roleGuests);
515
515
$acl->addRole($roleAdmins);
516
516
517
517
// Have 'Administrators' role inherit from 'Guests' its accesses
518
- $acl->addInherit($rollAdmins , $roleGuests);
518
+ $acl->addInherit($roleAdmins , $roleGuests);
519
519
```
520
520
521
521
<a name =' serialization ' ></a >
Original file line number Diff line number Diff line change @@ -519,7 +519,7 @@ $acl->addRole($roleGuests);
519
519
$acl->addRole($roleAdmins);
520
520
521
521
// Have 'Administrators' role inherit from 'Guests' its accesses
522
- $acl->addInherit($rollAdmins , $roleGuests);
522
+ $acl->addInherit($roleAdmins , $roleGuests);
523
523
```
524
524
525
525
<a name =' serialization ' ></a >
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ $acl->addRole($roleGuests);
515
515
$acl->addRole($roleAdmins);
516
516
517
517
// Have 'Administrators' role inherit from 'Guests' its accesses
518
- $acl->addInherit($rollAdmins , $roleGuests);
518
+ $acl->addInherit($roleAdmins , $roleGuests);
519
519
```
520
520
521
521
<a name =' serialization ' ></a >
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ $acl->addRole($roleGuests);
515
515
$acl->addRole($roleAdmins);
516
516
517
517
// Have 'Administrators' role inherit from 'Guests' its accesses
518
- $acl->addInherit($rollAdmins , $roleGuests);
518
+ $acl->addInherit($roleAdmins , $roleGuests);
519
519
```
520
520
521
521
<a name =' serialization ' ></a >
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ $acl->addRole($roleGuests);
515
515
$acl->addRole($roleAdmins);
516
516
517
517
// Have 'Administrators' role inherit from 'Guests' its accesses
518
- $acl->addInherit($rollAdmins , $roleGuests);
518
+ $acl->addInherit($roleAdmins , $roleGuests);
519
519
```
520
520
521
521
<a name =' serialization ' ></a >
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ $acl->addRole($roleGuests);
515
515
$acl->addRole($roleAdmins);
516
516
517
517
// Have 'Administrators' role inherit from 'Guests' its accesses
518
- $acl->addInherit($rollAdmins , $roleGuests);
518
+ $acl->addInherit($roleAdmins , $roleGuests);
519
519
```
520
520
521
521
<a name =' serialization ' ></a >
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ $acl->addRole($roleGuests);
515
515
$acl->addRole($roleAdmins);
516
516
517
517
// Have 'Administrators' role inherit from 'Guests' its accesses
518
- $acl->addInherit($rollAdmins , $roleGuests);
518
+ $acl->addInherit($roleAdmins , $roleGuests);
519
519
```
520
520
521
521
<a name =' serialization ' ></a >
You can’t perform that action at this time.
0 commit comments