]> granicus.if.org Git - postgresql/commitdiff
Document and enable ACLGROUP_PATCH submitted by Massimo
authorMarc G. Fournier <scrappy@hub.org>
Thu, 23 Jan 1997 19:39:40 +0000 (19:39 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Thu, 23 Jan 1997 19:39:40 +0000 (19:39 +0000)
src/include/config.h

index c66477e2be88c77582bb3e00f4c038e82aef98b5..64664d127d512f9ffd4a1f74635a7788a96f555b 100644 (file)
@@ -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