Hello, Mesly.
Don't know if it still helps you, but I answered a question very similar to yours in thread http://scn.sap.com/message/14363348 today.
Basically, GRACUSERPRMVL.ROLEID is related to GRACEXTOBJ.ID, so i believe the same applies to GRACROLEPRMVL.
Regards,
Marcelo