it is working on your local as you have admin privileges. This is where the service/system user is helpful. Since get administration resource resolver is deprecated, we are now supposed to get the service user and bind it to your bundle.
make sure you transfer your service user to higher level as well, easy way to do this to use ACS commons(ensure service user) to create a service user, so that you can deploy this in immutable way.