wayf-dk / janus-ssp

Automatically exported from code.google.com/p/janus-ssp
Other
0 stars 0 forks source link

AdminUtil::getAllowedtypes should only return enabled types #329

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
At the moment the getAllowedTypes method return an array containing all types 
recognized by JANUS, with a boolean flag indicating wether the type is enabled 
or not. 
The use of this method only uses those types that are enabled. 

I propose that all disabled types are removed from the result of this method in 
order to move the decision logic to the getAllowedTypes method instead of in 
the templates.

Original issue reported on code.google.com by j...@wayf.dk on 4 Apr 2012 at 9:03