Role-Based-Access-Control (RBAC)


admin role and user role

In the current Python Code panel (Tools → Python → Create Jupyter Notebook), the File menu (Load script / Save script / Save script as / New script), the code area and Execute script are available to any logged-in user, not only admins. There is currently no delete action exposed in this panel; removing a saved script is not available from the UI described here.

User with admin role

  • Select server side Python: if server-side Python is enabled (xplain.serverside.python=true), the admin additionally sees a serverside checkbox to choose between running through Pyodide or on the server. See Server-side Python.

Any logged-in user (admin or normal user)

  • Create / edit / save / load scripts: via the File menu, scoped to the current Team (Private Area / Public Area / a named team).

  • Run scripts: via Execute script.

  • Read description of files: multiline comments at the beginning of the source code, such as '''description in the comment block''', are shown when a script is opened.

  • Change the option parameters: in the Options input field, values can be set using the syntax --<option_name>=option_value.