Skip to content

Documentation correction on Permissions Page #7946

Closed

Description

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions