|
6 | 6 | - [Defining Available Permissions](#defining-available-permissions) |
7 | 7 | - [Assigning Permissions to Groups](#assigning-permissions-to-groups) |
8 | 8 | - [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) |
13 | 13 | - [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) |
18 | 18 | - [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) |
23 | 23 | - [User Activation](#user-activation) |
24 | 24 | - [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) |
27 | 27 |
|
28 | 28 | Authorization happens once a user has been identified through authentication. It is the process of |
29 | 29 | determining what actions a user is allowed to do within your site. |
@@ -262,17 +262,17 @@ if ($user->isNotActivated()) { |
262 | 262 | } |
263 | 263 | ``` |
264 | 264 |
|
265 | | -## Activating a User |
| 265 | +### Activating a User |
266 | 266 |
|
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. |
268 | 268 |
|
269 | 269 | ```php |
270 | 270 | $user->activate(); |
271 | 271 | ``` |
272 | 272 |
|
273 | | -## Deactivating a User |
| 273 | +### Deactivating a User |
274 | 274 |
|
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. |
276 | 276 |
|
277 | 277 | ```php |
278 | 278 | $user->deactivate(); |
|
0 commit comments