Closed
Description
- Laravel Version: 6.13.1
- Nova Version: 2.12.0
- PHP Version: 7.4.2
- Database Driver & Version: MySQL 5.7.27
- Operating System and Version: Debian GNU Linux
- Browser type and version: Chrome 80.0.3987.132
- Reproduction Repository: https://github.com/###/###
Description:
The 'force delete' option is available when selecting 'all matching records', even if the underlying policy returns false for 'forceDelete()'.
Steps To Reproduce:
Good scenario:
- List records of a certain resource
- Click the checkbox in the upper left corner of the table
- Choose 'select all'
- Click the dustbin icon
- 'Force delete' is not available
Faulty scenario:
- List records of a certain resource
- Click the checkbox in the upper left corner of the table
- Choose 'select all matching'
- Click the dustbin icon
- 'Force delete' is available