Open leplatrem opened 6 years ago
@peterbe what do you mean, use the filename as the service identifier?
Perhaps I haven't understood how the deployment is going to be done, but I envisioned a private githup repo that contains many .yml
files. For example symbols.prod.yml
. No? Or is it going to be one large policies.yml
file?
I know I raised those questions but after some more thinking I think there's a better way to reason about this.
The yaml file can continue to look more computer-friendly than human-friendly. The win is going to be in the tooling around. For example, there could be a cli app that asks you friendly questions that creates the file for you. Similar, to how npm init
creates the first package.json
.
Or there might be a little single-page-app JS app that asks theses questions in the browser as a form and spits out the result, for copying, in a <pre>
tag.
Ultimately, my head is thinking about the developer experience and that that feels easy more than anything otherwise Doorman won't be any fun to use.
From https://github.com/mozilla/doorman/pull/93#pullrequestreview-92201852
Currently we don't set
<.*>
as the default policy attributes values. But we could.@peterbe what do you mean, use the filename as the service identifier?
Currently we don't use
allow
as the default value foreffect
. But we could.