Skip to content
Snippets Groups Projects
  • Vincent Rioux's avatar
    6e46f7cc
    Add support for regex in consent.disable · 6e46f7cc
    Vincent Rioux authored
    Add support for regular expressions in consent.disable to make it easy to disable consent requirement for an entire domain or for trusted domains.  We have over 100 SP defines internally and would like to have consent disabled for all of them easily and without having to update the IDP metadata each time we add a new SP.
    
    Example consent.disable in IDP metadata :
    	// Disable consent for our SPs
    	'consent.disable' => array(
    		'https://mysp.mypartner.com',
    		array('type'=>'regex', 'pattern'=>'/.*\.mycompany\.com.*/i'),
    	),
    6e46f7cc
    History
    Add support for regex in consent.disable
    Vincent Rioux authored
    Add support for regular expressions in consent.disable to make it easy to disable consent requirement for an entire domain or for trusted domains.  We have over 100 SP defines internally and would like to have consent disabled for all of them easily and without having to update the IDP metadata each time we add a new SP.
    
    Example consent.disable in IDP metadata :
    	// Disable consent for our SPs
    	'consent.disable' => array(
    		'https://mysp.mypartner.com',
    		array('type'=>'regex', 'pattern'=>'/.*\.mycompany\.com.*/i'),
    	),
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Consent.php 13.31 KiB