Update of /cvsroot/phpslash/phpslash-ft/class
In directory usw-pr-cvs1:/tmp/cvs-serv7780/phpslash-ft/class
Modified Files:
Story_base.class
Log Message:
new perm storyeditor
Index: Story_base.class
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/Story_base.class,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** Story_base.class 15 Apr 2002 13:13:08 -0000 1.9
--- Story_base.class 15 Apr 2002 15:59:05 -0000 1.10
***************
*** 421,425 ****
// Normal users can't edit another user's stories
! if((!$this->perm->have_perm('story,root')) AND
( $ary['author_id'] != $this->auth->auth['uid'])) {
$this->message = pslgetText("Sorry. You do not have the necessary privilege to view this page.");
--- 421,425 ----
// Normal users can't edit another user's stories
! if((!$this->perm->have_perm('story,storyeditor')) AND
( $ary['author_id'] != $this->auth->auth['uid'])) {
$this->message = pslgetText("Sorry. You do not have the necessary privilege to view this page.");
|