Skip to content

Commit 5f180c4

Browse files
authored
Merge pull request #627 from sammyskills/fix-typo
Docs: authorization.md, fixed typo
2 parents 6c3097e + baeb172 commit 5f180c4

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

docs/authorization.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,24 @@
66
- [Defining Available Permissions](#defining-available-permissions)
77
- [Assigning Permissions to Groups](#assigning-permissions-to-groups)
88
- [Authorizing Users](#authorizing-users)
9-
- [can()](#can)
10-
- [inGroup()](#ingroup)
11-
- [hasPermission()](#haspermission)
12-
- [Authorizing via Routes](#authorizing-via-routes)
9+
- [can()](#can)
10+
- [inGroup()](#ingroup)
11+
- [hasPermission()](#haspermission)
12+
- [Authorizing via Routes](#authorizing-via-routes)
1313
- [Managing User Permissions](#managing-user-permissions)
14-
- [addPermission()](#addpermission)
15-
- [removePermission()](#removepermission)
16-
- [syncPermissions()](#syncpermissions)
17-
- [getPermissions()](#getpermissions)
14+
- [addPermission()](#addpermission)
15+
- [removePermission()](#removepermission)
16+
- [syncPermissions()](#syncpermissions)
17+
- [getPermissions()](#getpermissions)
1818
- [Managing User Groups](#managing-user-groups)
19-
- [addGroup()](#addgroup)
20-
- [removeGroup()](#removegroup)
21-
- [syncGroups()](#syncgroups)
22-
- [getGroups()](#getgroups)
19+
- [addGroup()](#addgroup)
20+
- [removeGroup()](#removegroup)
21+
- [syncGroups()](#syncgroups)
22+
- [getGroups()](#getgroups)
2323
- [User Activation](#user-activation)
2424
- [Checking Activation Status](#checking-activation-status)
25-
- [Activating a User](#activating-a-user)
26-
- [Deactivating a User](#deactivating-a-user)
25+
- [Activating a User](#activating-a-user)
26+
- [Deactivating a User](#deactivating-a-user)
2727

2828
Authorization happens once a user has been identified through authentication. It is the process of
2929
determining what actions a user is allowed to do within your site.
@@ -262,17 +262,17 @@ if ($user->isNotActivated()) {
262262
}
263263
```
264264

265-
## Activating a User
265+
### Activating a User
266266

267-
Users are automatically activated withih the `EmailActivator` action. They can be manually activated via the `activate()` method on the User entity.
267+
Users are automatically activated within the `EmailActivator` action. They can be manually activated via the `activate()` method on the `User` entity.
268268

269269
```php
270270
$user->activate();
271271
```
272272

273-
## Deactivating a User
273+
### Deactivating a User
274274

275-
Users can be manually deactivated via the `deactivate()` method on the User entity.
275+
Users can be manually deactivated via the `deactivate()` method on the `User` entity.
276276

277277
```php
278278
$user->deactivate();

0 commit comments

Comments
 (0)