Fix Story permissions so that admin need not be turned on.

canEdit is now determined by the Story and the parent StoryArchive.
With tests, and template changes.
This commit is contained in:
Colin Kuskie 2009-05-28 04:15:50 +00:00
parent 1e6d9b7d18
commit 83497b773e
6 changed files with 83 additions and 17 deletions

View file

@ -55,6 +55,7 @@ our $HELP = {
],
fields => [],
variables => [
{ name => 'canEdit', },
{ name => 'highlights_loop',
'variables' => [
{ name => 'highlight', },