This repository has been archived on 2024-08-23. You can view files and clone it, but cannot push or open issues or pull requests.
project/sql/get_all_permissions_for_folder.sql

8 lines
187 B
SQL

SELECT
users.user_id,
permission_type as "permission_type: PermissionRaw"
FROM
permissions
INNER JOIN users ON permissions.user_id = users.user_id
WHERE
folder_id = $1