Documentation updates:

- Try to explain better that werc expects Plan 9 tools in /usr/local/plan9/bin/
- Note possible bug.
- Other small doc changes.
This commit is contained in:
Uriel 2011-06-28 01:50:24 +00:00
parent 99fdff82ef
commit 640aa2f900
5 changed files with 27 additions and 3 deletions

View file

@ -60,6 +60,7 @@ Future Plansi and Blue Sky
Similar frameworks to be investigated and mined for good ideas to steal:
* TinyTim: http://www.reddit.com/r/programming/duplicates/dbaee/
* nanoblogger: http://nanoblogger.sourceforge.net/
Known Bugs
@ -69,6 +70,11 @@ Known Bugs
* If a dir under apps/ doesn't contain an app.rc file, werc fails to start. A possible fix would be to replace $werc_apps default with `apps/*/app.rc` instead of `apps/*/`, this would be backwards incompatible, but I doubt anyone uses that option.
* Links in Blagh feeds become confused if markdown 'references' are used, markdown references suck, but I guess we need to address this somehow...
* Somewhat similarly to the abouve, relative urls in imgs, links, etc. can easily break when used in Blagh posts, so it is not all markdown's fault.
* .md files of the following form, without a new line after the last = seem to cause problems in some setups:
Foo Bar
=======
Fixed or WFM Bugs

View file

@ -52,9 +52,17 @@ Access Control and Permissions
The permissions system is very flexible, for example to only allow access to members of the group 'editors' you can do something like:
if(! check_user editors)
perm_redirect /_users/login
switch ($req_path) {
case /_users/login
case /pub/*
case /robots.txt
case *
if(! check_user editors)
perm_redirect /_users/login
}
To automatically redirect users without permission to the login page if they are not members of the group 'editors'.
See also [the documentation on user and group management](user_management).