Closed
Description
openedon Jul 7, 2022
What you were expecting:
This is not a bug, but what I think is an error in the documentation on the
https://marmelab.com/react-admin/doc/4.0/Permissions.html page,
under the section Restricting Access to Resources or Views
I believe that the documented syntax
{permissions => ( <> <Resource .... </> )}
should be:
{permissions => [ <> <Resource .... </> ]}
I apologize if this is the wrong category to report this, I was not sure the best way to.
What happened instead:
Steps to reproduce:
- A link to a GitHub repo with the minimal codebase to reproduce the issue
Environment
- React-admin version: 4
- Last version that did not exhibit the issue (if applicable):
- React version:
- Browser:
- Stack trace (in case of a JS error):
Activity