You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
should succeed if executed by a rodsuser.
In this context, the command line argument python_rule should be taken as the identifier of a python function (a rule) defined in the global namespace of /etc/irods/core.py.
Currently this command only succeeds for a rodsadmin. A rodsuser gets the errorSYS_NO_API_PRIV.
The text was updated successfully, but these errors were encountered:
rodsLog( LOG_DEBUG, "Insufficient privileges to run irule in Python rule engine plugin" );
returnERROR( SYS_NO_API_PRIV, "Insufficient privileges to run irule in Python rule engine plugin" );
}
If Boost.Python gives us a way to fetch all rules/functions inside of core.py, then we can use that to determine whether the rule text sent by the client should be executed.
The command:
should succeed if executed by a
rodsuser
.In this context, the command line argument
python_rule
should be taken as the identifier of a python function (a rule) defined in the global namespace of /etc/irods/core.py.Currently this command only succeeds for a
rodsadmin
. Arodsuser
gets the errorSYS_NO_API_PRIV
.The text was updated successfully, but these errors were encountered: