OliveReadOnly
provides Olive
with read only session cells, file cells, directories, projects, and exports. This is primarily intended for use with further extensions or customized Olive
servers. This extension doesn't serve much purpose to a regular user unless they are sharing files, some of which they want to be read only, over a network with Olive
.
Add OliveReadOnly
to your olive
environment by adding OliveReadOnly
to your olive
environment. using OliveReadonly
to your olive.jl
file. Learn more at installing extensions
- Alternatively, you may load
OliveReadOnly
byusing OliveReadOnly
before startingOlive
.
The intended use-case involves assembling your own read-only directories manually. If you'd like to give OliveReadyOnly
a try on your own, try adding a readonly
directory to your Environment
from the REPL:
newdirec = Olive.Directory(pwd(), dirtype = "readonly"); env = Olive.CORE.users[1].environment; push!(env.directories, newdirec)
Consider the different steps, as this is the same technique we would use to preload a read only directory into an Olive
session. First we get the environment, then we push a new directory to it.
newdirec = Olive.Directory(pwd(), dirtype = "readonly")
env = Olive.CORE.users[1].environment
push!(env.directories, newdirec)