[#174] LDAP users should not be able to change password

This commit is contained in:
Oliver Gorwits
2015-01-25 09:58:19 +00:00
parent bd029bcdb1
commit e03cb75729
2 changed files with 4 additions and 0 deletions

View File

@@ -8,6 +8,7 @@
* Another fix for NetAddr::MAC tripping up on v6 addresses * Another fix for NetAddr::MAC tripping up on v6 addresses
* [#191] Fix error when stopping stopped web daemon * [#191] Fix error when stopping stopped web daemon
* [#174] LDAP users should not be able to change password
2.030000 - 2015-01-08 2.030000 - 2015-01-08

View File

@@ -16,6 +16,9 @@ __PACKAGE__->result_source_instance->view_definition(<<ENDSQL
UNION UNION
SELECT username, 'admin' AS role FROM users SELECT username, 'admin' AS role FROM users
WHERE admin WHERE admin
UNION
SELECT username, 'ldap' AS role FROM users
WHERE ldap
ENDSQL ENDSQL
); );