Fixed Error with permissions with no user context