Removing the Suspend and Hibernate options from Gnome's menu

Courtesy of unix.stackexchange.com, opensuse - Removing supend and hibernate privileges - Unix and Linux - Stack Exchange :

The directory /etc/polkit-1/localauthority.conf.d is reserved for configuration files.

You should put your file in a subdirectory of /var/lib/polkit-1/localauthority and with extension .pkla. The directory /etc/polkit-1/localauthority should be ok too, but can be modified by updagraded/installed packages, so better to avoid it.