Commit info for scoop/lib/Scoop/Admin:

Modified Files:
	AdminStories.pm 
Log Message:
Gotta make save_story respect the new perms as well.


Index: AdminStories.pm
===================================================================
RCS file: /cvs/scoop/scoop/lib/Scoop/Admin/AdminStories.pm,v
retrieving revision 1.134
retrieving revision 1.135
diff -r1.134 -r1.135
525,531c525,534
< 		$params{writestatus} = -2;
< 		if ($params{edit_in_queue}) {
< 			$params{displaystatus} = -3;
< 		} else {
< 			$params{displaystatus} = -2;
< 			$params{timeupdate} = 'now';
< 			$S->move_story_to_voting($sid);
---
> 		
> 		unless ($S->have_perm('story_displaystatus_select')) {
> 			$params{writestatus} = -2;
> 			if ($params{edit_in_queue}) {
> 				$params{displaystatus} = -3;
> 			} else {
> 				$params{displaystatus} = -2;
> 				$params{timeupdate} = 'now';
> 				$S->move_story_to_voting($sid);
> 			}
537c540,543
< 		$params{commentstatus} = $S->{UI}->{VARS}->{default_commentstatus} || 0;
---
> 		
> 		unless ($S->have_perm('story_commentstatus_select')) {
> 			$params{commentstatus} = $S->{UI}->{VARS}->{default_commentstatus} || 0;
> 		}
562a569
> 	
1044c1051
< 	my $stat = shift;
---
> 	my $stat = shift || $S->{UI}->{VARS}->{default_displaystatus};