Anonymous | Login | 2024-08-24 20:51 EDT | ![]() |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
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))) { | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
(0000037) user4 2006-05-04 07:39 |
Reminder sent to: user4, dlaporte, kevmcs |
(0000059) kevmcs (developer) 2006-05-09 15:15 |
we should like to show the button so release.cgi can display the message generate_error_page("Maximum re-enables reached - please contact your IT support staff"); |
![]() |
|||
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 |
Copyright © 2000 - 2012 MantisBT Group |