diff options
-rw-r--r-- | inc/actions.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/inc/actions.php b/inc/actions.php index aef63b94c..09042885e 100644 --- a/inc/actions.php +++ b/inc/actions.php @@ -116,7 +116,13 @@ function act_permcheck($act){ if(in_array($act,array('save','preview','edit'))){ if($INFO['exists']){ - $permneed = AUTH_EDIT; + if($act == 'edit'){ + //the edit function will check again and do a source show + //when no AUTH_EDIT available + $permneed = AUTH_READ; + }else{ + $permneed = AUTH_EDIT; + } }else{ $permneed = AUTH_CREATE; } |