ssmsap_put_resource_permission function

Adds permissions to the target database