reductionista commented on a change in pull request #520: URL: https://github.com/apache/madlib/pull/520#discussion_r504356446 ########## File path: src/ports/postgres/modules/deep_learning/madlib_keras_custom_function.py_in ########## @@ -68,6 +72,8 @@ def load_custom_function(schema_madlib, object_table, object, name, description= _validate_object(object) _assert(name is not None, "{0}: function name cannot be NULL!".format(module_name)) + _assert(is_superuser(current_user()), "DL: The user has to have admin "\ + "privilages to load a custom function") Review comment: This is great! ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org