Enhanced mechanisms for granting access to shared resources