https://github.com/chifisource/olivereadonly.jl
Permissions extension for `Olive` notebook files on a user and group basis.
https://github.com/chifisource/olivereadonly.jl
Last synced: 4 months ago
JSON representation
Permissions extension for `Olive` notebook files on a user and group basis.
- Host: GitHub
- URL: https://github.com/chifisource/olivereadonly.jl
- Owner: ChifiSource
- License: mit
- Created: 2025-08-11T21:03:53.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-08-22T00:37:39.000Z (10 months ago)
- Last Synced: 2025-10-21T15:42:48.475Z (8 months ago)
- Language: Julia
- Size: 40 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
`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`.
###### adding
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](https://github.com/ChifiSource/Olive.jl#installing-extensions)
- Alternatively, you may load `OliveReadOnly` by `using OliveReadOnly` before starting `Olive`.
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:
```julia
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.
```julia
newdirec = Olive.Directory(pwd(), dirtype = "readonly")
env = Olive.CORE.users[1].environment
push!(env.directories, newdirec)
```