# Allow the model-gateway service to grant itself read access to user-selected
# local model directories without collecting sudo passwords in the Web UI.
%model-gateway ALL=(root) NOPASSWD: /usr/bin/model-gateway-grant-access --path *
%model-gateway ALL=(root) NOPASSWD: /usr/bin/model-gateway-resolve-model --name * --size *
%model-gateway ALL=(root) NOPASSWD: /usr/bin/model-gateway-resolve-model --name * --size * --mtime *
