Mercurial > hg > soundsoftware-site
view .svn/pristine/67/67aa4777ed1332a8a87bb44f4455573440b70d60.svn-base @ 909:cbb26bc654de redmine-1.3
Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author | Chris Cannam |
---|---|
date | Fri, 24 Feb 2012 19:09:32 +0000 |
parents | |
children |
line wrap: on
line source
/* ssh views */ CREATE OR REPLACE VIEW ssh_users as select login as username, hashed_password as password from users where status = 1; /* nss views */ CREATE OR REPLACE VIEW nss_groups AS select identifier AS name, (id + 5000) AS gid, 'x' AS password from projects; CREATE OR REPLACE VIEW nss_users AS select login AS username, CONCAT_WS(' ', firstname, lastname) as realname, (id + 5000) AS uid, 'x' AS password from users where status = 1; CREATE OR REPLACE VIEW nss_grouplist AS select (members.project_id + 5000) AS gid, users.login AS username from users, members where users.id = members.user_id and users.status = 1;