Skip to content

Commit bc74249

Browse files
authored
Merge pull request #5920 from jormaechea/patch-1
Typo fixed
2 parents 46e3204 + c48fb7e commit bc74249

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Authentication.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ const PostDetail = ({ id }) => {
359359

360360
## Authorization
361361

362-
Some applications may require fine-grained permissions to enable or disable access to certain features depending on user permissions. Since there are many possible strategies (single role, multiple roles or rights, ACLs, etc.), react-admin delegates the permission logic to `autheProvider.getPermissions()`.
362+
Some applications may require fine-grained permissions to enable or disable access to certain features depending on user permissions. Since there are many possible strategies (single role, multiple roles or rights, ACLs, etc.), react-admin delegates the permission logic to `authProvider.getPermissions()`.
363363

364364
By default, a react-admin app doesn't require any special permission on list, create, edit, and show pages. However, react-admin calls the `authProvider.getPermissions()` method before navigating to these pages, and passes the result to the main page component (`<List>`, `<Edit>`, etc.). You can then tweak the content of these pages based on permissions.
365365

0 commit comments

Comments
 (0)