After receiving the error please check to see if permissions were successfully granted in spite of the error. If this does not work, another option would be to create a 'dummy feature' inside the features that you are attempting to grant privileges on > grant the privileges > then delete the 'dummy feature'.