Changes between Version 3 and Version 4 of iPeerSecurity


Ignore:
Timestamp:
2010-05-31T22:43:56Z (14 years ago)
Author:
Serge Okon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • iPeerSecurity

    v3 v4  
    99=== Users_controller ===
    1010Each potentialy sensitive method in users_controller checks the user role agains 'S' (or Student). If a Student should not be able to access this function, they are re-directed away from the page. If any other user type is logged on, the requested action will proceed.
    11 <pre>
    12                 if ($this->rdAuth->role == 'S') {
    13                         $this->redirect('home/index');
    14                         exit();
    15                 }
    16 </pre>
     11{{{
     12if ($this->rdAuth->role == 'S') {
     13    $this->redirect('home/index');
     14exit();
     15}
     16}}}