Fix docblock formatting and add newer settings to README documentation

pull/7931/head
Thijs Kinkhorst 2021-11-05 15:29:54 +01:00
parent 53d408c172
commit abb8cecb7e
2 changed files with 8 additions and 4 deletions

View File

@ -39,10 +39,11 @@ class ApacheShibbAuthenticate extends BaseAuthenticate
* 'group_one' => 1, * 'group_one' => 1,
* ), * ),
* 'DefaultOrg' => 'MY_ORG', * 'DefaultOrg' => 'MY_ORG',
* 'BlockOrgModifications' => false // set to true if you wish for the user's organisation never to be updated during login. Especially useful if you manually change organisations in MISP * 'DefaultRole' => false, // set to a specific value if you wish to hard-set users created via ApacheShibbAuth
* 'DefaultRole' => false // set to a specific value if you wish to hard-set users created via ApacheShibbAuth * 'BlockRoleModifications' => false, // set to true if you wish for the roles never to be updated during login. Especially
* 'BlockRoleModifications' => false // set to true if you wish for the roles never to be updated during login. Especially * // useful if you manually change roles in MISP * // useful if you manually change roles in MISP
* 'BlockOrgModifications' => false // set to true if you wish for the organizations never to be updated during login. Especially * // useful if you manually change orgs in MISP * 'BlockOrgModifications' => false, // set to true if you wish for the organizations never to be updated during login. Especially
* // useful if you manually change orgs in MISP
* ), * ),
* @param CakeRequest $request The request that contains login information. * @param CakeRequest $request The request that contains login information.
* @param CakeResponse $response Unused response object. * @param CakeResponse $response Unused response object.

View File

@ -145,6 +145,9 @@ in the list given by apache. By default, you can leave it at ';'.
'possible_group_attribute_value_1' => 1, 'possible_group_attribute_value_1' => 1,
), ),
'DefaultOrg' => 'MISP_DEFAULT_ORG', 'DefaultOrg' => 'MISP_DEFAULT_ORG',
'DefaultRole' => false, // set to a specific value if you wish to hard-set users created via ApacheShibbAuth
'BlockRoleModifications' => false, // set to true if you wish for the roles never to be updated during login. Especially useful if you manually change roles in MISP
'BlockOrgModifications' => false, // set to true if you wish for the organizations never to be updated during login. Especially useful if you manually change orgs in MISP
), ),
``` ```