PacketFence - BTS - PacketFence 1.6.2 | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0000027 | PacketFence 1.6.2 | public | 2006-05-04 07:38 | 2006-05-09 15:15 | |
| Reporter | user4 | ||||
| Assigned To | |||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Summary | 0000027: enable network button is shown in redir.cgi even if the user has reached max_enable for a given violation | ||||
| Description | The enable network button appears even if the user has reached max_enable for a given violation If lib/pf/violation.pm exports the violation_count_vid subroutine and we do the following diff to cgi-bin/redir.cgi, the button is only shown if the user can really re-enable the network access 81c81 < } elsif ($class->{'auto_enable'} eq 'Y'){ --- > } elsif (($class->{'auto_enable'} eq 'Y') && ($class->{'max_enables'} > violation_count_vid($mac,$vid))) { | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2006-05-04 07:38 | user4 | New Issue | |||
| 2006-05-04 07:39 | user4 | Note Added: 0000037 | |||
| 2006-05-09 15:15 | kevmcs | Status | new => closed | ||
| 2006-05-09 15:15 | kevmcs | Note Added: 0000059 | |||
| 2006-05-09 15:15 | kevmcs | Resolution | open => fixed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||