<%@language = "javascript" %>
<%
    // Let op: alleen gebruikt om rechten van een persoon te kunnen tonen
    // http://facws001/trunk/appl/mgt/prs_perslid.asp?mode=list&model=authorization&user=33083
%>
<!-- #include file="../scf/scaffolding.inc" -->
<!-- #include file="../api2/model_persons.inc" -->

<%
    scaffolding(model_persons,
        {
            "search": {
                "autosearch": false,
                "filters": [
                    "lastname",
                    "firstname",
                    "department",
                    "login",
                    "authorization.fac_groep"
                ]
            },
            "list": {
                "columns": [
                    "id",
                    "lastname",
                    "firstname",
                    "login",
                    "authorization.fac_groep"
                  ],
                "requires": {
                  js: ["./fac_groep.js"]
                }
            }
        });
%>
