opal.resource_perm_add function

Add or update a permission on a resource