From: Chris Sharp Date: Fri, 9 Oct 2015 16:55:37 +0000 (-0400) Subject: adding script to get perms per permission profile X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=19372f11a8d8be4db52084c8077e5db567a13da2;p=contrib%2Fpines.git adding script to get perms per permission profile --- diff --git a/get_combined_perms_per_profile.sh b/get_combined_perms_per_profile.sh new file mode 100755 index 0000000..0c0b5f8 --- /dev/null +++ b/get_combined_perms_per_profile.sh @@ -0,0 +1,45 @@ +#!/bin/bash + +Usage () { +echo "USAGE: $0 " +exit 1 +} + +GROUP_NAME="$1" +PG_USER="evergreen" +PSQL="/usr/bin/psql" +PG_DB="evergreen" + + +if [ -z $GROUP_NAME ]; then + Usage +fi +read -d '' SQL <