separate packages from permissions

This commit is contained in:
AJ ONeal 2017-05-22 17:22:32 +00:00
parent 911c783c5e
commit e8ecde4b62
1 changed files with 16 additions and 7 deletions

View File

@ -168,15 +168,12 @@ Example tree with contents:
Here `com.example.hello` is a package with a REST API and a static page
and `foobar.me` is a WALNUT-configured domain (smithfam.net, etc).
The packages:
```
/srv/walnut/packages/
├── api
├── client-api-grants
│ └── cloud.foobar.me
│ '''
│ com.example.hello # refers to /srv/walnut/packages/rest/com.example.hello
│ '''
├── pages
│ └── com.example.hello
│ └── index.html
@ -208,7 +205,19 @@ and `foobar.me` is a WALNUT-configured domain (smithfam.net, etc).
│ '''
├── services
└── services
```
The permissions:
```
/srv/walnut/packages/
├── client-api-grants
│ └── cloud.foobar.me
│ '''
│ com.example.hello # refers to /srv/walnut/packages/rest/com.example.hello
│ '''
└── sites
└── daplie.me
'''