There are a number of options available. You can always read the man fstab page or fstab --help directly on your machine.
You can also search to discover every available option via Arch Wiki, Ubuntu Wiki, and thousands of other guides.
Have fun! Here are a few to get started:
auto/noauto: Specify whether the partition should be automatically mounted on boot. You can block specific partitions from mounting at boot-up by using ânoautoâ.
nouser/user: This allows the user to have mounting and unmounting privileges. An important note is that âuserâ automatically implies ânoexecâ so if you need to execute binaries and still mount as a user, be sure to explicitly use âexecâ as an option.
I understand why nextcloud would need rw, but is there any specific reason we would want users to mount/unmount the drive? I believe nextcloud uses the www-data user. Is this required for it to function?