Ignore:
Timestamp:
01/22/12 19:38:41 (4 months ago)
Author:
CrawfordCurrie
Message:

Item11461: no functional changes, just some code cleanup and debugging used to complete this task

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/WorkflowPlugin/lib/Foswiki/Plugins/WorkflowPlugin.pm

    r13767 r13783  
    662662    return unless $controlledTopic; 
    663663 
    664     unless ( $controlledTopic->canEdit() ) { 
     664    unless ( $controlledTopic->canSave() ) { 
    665665        throw Foswiki::OopsException( 
    666666            'accessdenied', 
     
    743743            $stateChangeInfo{WORKFLOWPENDINGACTION} ); 
    744744    } 
    745     elsif ( !$controlledTopic->canEdit() ) { 
     745    elsif ( !$controlledTopic->canSave() ) { 
    746746 
    747747        # Not a state change, make sure the AllowEdit in the state table 
Note: See TracChangeset for help on using the changeset viewer.