Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support access control #27

Open
xleclercq opened this issue May 31, 2022 · 0 comments
Open

Support access control #27

xleclercq opened this issue May 31, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@xleclercq
Copy link
Contributor

Suggested format:

{
"title": "Test Site 1",
"homepage": { "page": "pages/index.html" }, // TODO: has to refer to existing content defined below
"navigation": [
{
"label": "Home",
"target": { "page": "pages/index.html" }
}
],
"content": [
"group": // TODO: use of groups should be example 2
{
"access": "public", // TODO: we don't support access control in Nemu yet but pre-empt
"robots": "allow", // TODO: again just an idea for now
"template-engine": "mustache", // TODO: the default template engine, again just an idea for now as we'll assume everything is Mustache by default
// TODO: caching policy
// TODO: a way to explicitly remove a prefix from the URL path that is generated
"content": [
"page": { "path": "pages/index.html" }, // TODO: by default the "id" is the path, we really want to map "pages/whatever" to "https://domain/whatever", how do we achieve this?
"image": { "path": "images/logo.png" },
]
}
"group": // TODO: another group
],
"sitemap": true
}

@xleclercq xleclercq added the bug Something isn't working label May 31, 2022
@xleclercq xleclercq self-assigned this May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant