summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarc G. Fournier1997-01-23 19:39:40 +0000
committerMarc G. Fournier1997-01-23 19:39:40 +0000
commit5184bd7cb3227201b782df8b962dc9540bfdce5f (patch)
tree5fd223c332646e5ce2d39c1d07a2f9cbae2c42b3 /src
parent1e5755cf73341779953405f0c4e58f1f79454f30 (diff)
Document and enable ACLGROUP_PATCH submitted by Massimo
Diffstat (limited to 'src')
-rw-r--r--src/include/config.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/config.h b/src/include/config.h
index c66477e2be8..64664d127d5 100644
--- a/src/include/config.h
+++ b/src/include/config.h
@@ -215,6 +215,16 @@ typedef unsigned char slock_t;
# define NEED_STRDUP
#endif
+/* This patch changes the behavior of aclcheck for groups. Currently an user
+ * can access a table only if he has the required permission for ALL the groups
+ * defined for that table. With my patch he can access a table if he has the
+ * permission for ONE of the groups, which seems to me a more useful thing.
+ *
+ * Used in: src/backend/tcop/aclchk.c
+ * Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
+ */
+#define ACLGROUP_PATCH
+
/*
* The following is used as the arg list for signal handlers. Any ports