You need to block a user from creating raw device mapping (RDM) disks and bus sharing disks in the vCenter UI, while still allowing the user to create standard SCSI disks.
VMware vCenter Server
By default, standard administrative or virtual machine management roles may include the privilege to configure raw devices. To restrict this specific action without impacting standard disk creation privileges, a custom role must be tailored to specifically omit the raw device configuration privilege.
To resolve this issue, create and assign a custom vCenter role with the "Configure Raw device" permission removed.
This configuration ensures that users retain the ability to manage standard virtual disks without having the elevated permissions required to create raw device mappings or bus sharing disks.