• Girish Ramakrishnan's avatar
    Set IsAdmin using LDAP · 24d7a86a
    Girish Ramakrishnan authored
    The IsAdmin flag is set based on whether the admin filter
    returned any result. The admin filter is applied with the user dn
    as the search root.
    
    In the future, we should update IsAdmin as well on each login.
    Alternately, we can have a periodic sync operation.
    24d7a86a
login.go 9.66 KB