Rename some template functions internal terms

* credentials => user_org
* private => superuser
This commit is contained in:
Javier Goizueta
2017-03-28 10:37:21 +02:00
parent 2d6b73cb9d
commit 39878ef542
6 changed files with 23 additions and 23 deletions
@@ -1,4 +1,4 @@
<% if public_function? %>
<% unless superuser_function? %>
GRANT EXECUTE ON FUNCTION <%= DATASERVICES_CLIENT_SCHEMA %>.<%= name %>(<%= params_with_type.join(', ') %>) TO publicuser;
GRANT EXECUTE ON FUNCTION <%= DATASERVICES_CLIENT_SCHEMA %>._<%= name %>_exception_safe(<%= params_with_type.join(', ') %> ) TO publicuser;
<% end %>