Skip to content

Commit

Permalink
docs: update access control documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelpopowicz committed Aug 8, 2024
1 parent 46cd895 commit 6650b6e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/access-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Available methods :
- `showUploadFile`
- `showRenameFile`
- `showDeleteFile`
- `showDownloadFile`
- `showUnzipFile`
- `showCropImage`

The usage is pretty straightforward, you can pass a callback that takes the current `NovaRequest` as a parameter, that
Expand Down Expand Up @@ -69,6 +71,8 @@ Available methods :
- `canUploadFile`
- `canRenameFile`
- `canDeleteFile`
- `canDownloadFile`
- `canUnzipFile`

Unlike the `show` prefixed methods, these aformentionned methods do not hide the buttons from the tool, they only
restrict the underlying API actions.
Expand Down

0 comments on commit 6650b6e

Please sign in to comment.