Wydawca |
|
Release Submission Daemon |
Sergey Poznyakoff |
This dictionary assumes that the ‘user’ table has a special column, ‘upload_flags’, whose value is ‘Y’ for those users who can do uploads for this project:
dictionary project-uploader { type sql; params (default); query "SELECT user.email, user.realname " "FROM user,user_group,groups " "WHERE user_group.user_id=user.user_id " "AND user_group.group_id=groups.group_id " "AND user_group.upload_flags = 'Y' " "AND groups.unix_group_name = '${project}'"; }
This document was generated on January 6, 2021 using makeinfo.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.