Files
Facilitor/APPL/API2/model_fac_idp_map.inc
Jos Groot Lipman f488ba11bc DJIN#36213 SAML/Authenticatie verbeteringen.
svn path=/Website/trunk/; revision=33179
2017-03-16 19:46:30 +00:00

72 lines
2.0 KiB
PHP

<% /*
$Revision$
$Id$
File: model_fac_idp_map.inc
Description:
Notes:
*/
function model_fac_idp_map()
{
this.records_name = "idpmappings";
this.record_name = "idpmapping";
this.table = "fac_idp_map";
this.primary = "fac_idp_map_key";
this.autfunction = "WEB_FACFAC";
this.record_title = L("fac_idp_map");
this.records_title = L("fac_idp_map_m");
this.fields = {
"id": {
"dbs": "fac_idp_map_key",
"label": L("lcl_key"),
"typ": "key",
"seq": "fac_s_fac_idp_map_key"
},
"identityprovider": {
"dbs": "fac_idp_key",
"label": L("fac_idp"),
"typ": "key",
"hidden_fld": true,
"required": true
},
"identify": {
"dbs": "fac_idp_map_identify",
"label": L("fac_idp_map_identify"),
"typ": "check0"
},
"name": {
"dbs": "fac_idp_map_to",
"label": L("fac_idp_map_to"),
"typ": "key",
"required": true,
"LOV": "1;Login;2;Achternaam;3;Voornaam;4;E-mail;5;Afdeling;6;Kostenplaats;7;Functie;100;*Werkplekken;101;*Authorisatiegroepen" ///L("fac_idp_map_toLOV")
},
"from": {
"dbs": "fac_idp_map_from",
"label": L("fac_idp_map_from"),
"typ": "varchar",
"required": true
},
"default": {
"dbs": "fac_idp_map_default",
"label": L("fac_idp_map_default"),
"typ": "varchar"
}
}
this.edit = {
"modal": true
};
this.list = {
"columns": ["identify", "name", "from", "default"]
};
this.REST_GET = generic_REST_GET(this);
this.REST_POST = generic_REST_POST(this);
this.REST_PUT = generic_REST_PUT(this);
this.REST_DELETE = generic_REST_DELETE(this);
}
%>