Skip to content

Commit

Permalink
link correction
Browse files Browse the repository at this point in the history
  • Loading branch information
niden committed Dec 26, 2023
1 parent 81d0d4d commit 4c1f19b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/acl.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,11 +421,11 @@ $acl->isAllowed('manager', 'admin', 'dashboard');
## Custom Objects
Phalcon allows developers to define their own role and component objects. These objects must implement the supplied interfaces:

* [Phalcon\Acl\RoleAwareInterface][acl-roleawareinterface] for Role
* [Phalcon\Acl\ComponentAwareInterface][acl-componentawareinterface] for Component
* [Phalcon\Acl\RoleAwareInterface][acl-roleaware] for Role
* [Phalcon\Acl\ComponentAwareInterface][acl-componentaware] for Component

### Role
You can implement the [Phalcon\Acl\RoleAwareInterface][acl-roleawareinterface] in your custom class with its own logic. The example below shows a new role object called `ManagerRole`:
You can implement the [Phalcon\Acl\RoleAwareInterface][acl-roleaware] in your custom class with its own logic. The example below shows a new role object called `ManagerRole`:

```php
<?php
Expand Down Expand Up @@ -459,7 +459,7 @@ class ManagerRole implements RoleAwareInterface
```

### Component
You can implement the [Phalcon\Acl\ComponentAwareInterface][acl-componentawareinterface] in your custom class with its own logic. The example below shows a new role object called `ReportsComponent`:
You can implement the [Phalcon\Acl\ComponentAwareInterface][acl-componentaware] in your custom class with its own logic. The example below shows a new role object called `ReportsComponent`:

```php
<?php
Expand Down

0 comments on commit 4c1f19b

Please sign in to comment.