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:
parent
1e6d9b7d18
commit
83497b773e
6 changed files with 83 additions and 17 deletions
|
|
@ -55,6 +55,7 @@ our $HELP = {
|
|||
],
|
||||
fields => [],
|
||||
variables => [
|
||||
{ name => 'canEdit', },
|
||||
{ name => 'highlights_loop',
|
||||
'variables' => [
|
||||
{ name => 'highlight', },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue