| 1 | efrain | 1 | <?php
 | 
        
           |  |  | 2 | // This file is part of Moodle - http://moodle.org/
 | 
        
           |  |  | 3 | //
 | 
        
           |  |  | 4 | // Moodle is free software: you can redistribute it and/or modify
 | 
        
           |  |  | 5 | // it under the terms of the GNU General Public License as published by
 | 
        
           |  |  | 6 | // the Free Software Foundation, either version 3 of the License, or
 | 
        
           |  |  | 7 | // (at your option) any later version.
 | 
        
           |  |  | 8 | //
 | 
        
           |  |  | 9 | // Moodle is distributed in the hope that it will be useful,
 | 
        
           |  |  | 10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
        
           |  |  | 11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
        
           |  |  | 12 | // GNU General Public License for more details.
 | 
        
           |  |  | 13 | //
 | 
        
           |  |  | 14 | // You should have received a copy of the GNU General Public License
 | 
        
           |  |  | 15 | // along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
 | 
        
           |  |  | 16 |   | 
        
           |  |  | 17 | /**
 | 
        
           |  |  | 18 |  * Language strings.
 | 
        
           |  |  | 19 |  *
 | 
        
           |  |  | 20 |  * @package     factor_capability
 | 
        
           |  |  | 21 |  * @author      Peter Burnett <peterburnett@catalyst-au.net>
 | 
        
           |  |  | 22 |  * @copyright   Catalyst IT
 | 
        
           |  |  | 23 |  * @license     http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 | 
        
           |  |  | 24 |  */
 | 
        
           |  |  | 25 |   | 
        
           | 1441 | ariadna | 26 | $string['capability:cannotpassfactor'] = 'Must use other factor in MFA to authenticate';
 | 
        
           | 1 | efrain | 27 | $string['pluginname'] = 'User capability';
 | 
        
           |  |  | 28 | $string['privacy:metadata'] = 'The User capability factor plugin does not store any personal data.';
 | 
        
           |  |  | 29 | $string['settings:adminpasses'] = 'Site admins can pass this factor';
 | 
        
           |  |  | 30 | $string['settings:adminpasses_help'] = 'By default admins pass all capability checks, including this one which uses \'factor/capability:cannotpassfactor\', which means they will fail this factor.
 | 
        
           |  |  | 31 |     If checked then all site admins will pass this factor if they do not have this capability from another role.
 | 
        
           |  |  | 32 |     If unchecked site admins will fail this factor.';
 | 
        
           | 1441 | ariadna | 33 | $string['settings:description'] = '<p>Use the capability factor/capability:cannotpassfactor to specify which users must use another factor to authenticate.</p>
 | 
        
           |  |  | 34 | <p>Allow this capability for selected roles in <a href="roles/manage.php">Define roles</a>.</p>';
 | 
        
           |  |  | 35 | $string['settings:shortdescription'] = 'Specify which users must use other factors to authenticate. Must be combined with other factors.';
 | 
        
           |  |  | 36 | $string['summarycondition'] = 'does NOT have the \'factor/capability:cannotpassfactor\' capability in any role including site administrator.';
 |