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 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). and `foobar.me` is a WALNUT-configured domain (smithfam.net, etc).
The packages:
``` ```
/srv/walnut/packages/ /srv/walnut/packages/
├── api ├── api
├── client-api-grants
│ └── cloud.foobar.me
│ '''
│ com.example.hello # refers to /srv/walnut/packages/rest/com.example.hello
│ '''
├── pages ├── pages
│ └── com.example.hello │ └── com.example.hello
│ └── index.html │ └── 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 └── sites
└── daplie.me └── daplie.me
''' '''