Skip to content

Commit 5184bd7

Browse files
committed
Document and enable ACLGROUP_PATCH submitted by Massimo
1 parent 1e5755c commit 5184bd7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/include/config.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,16 @@ typedef unsigned char slock_t;
215215
# define NEED_STRDUP
216216
#endif
217217

218+
/* This patch changes the behavior of aclcheck for groups. Currently an user
219+
* can access a table only if he has the required permission for ALL the groups
220+
* defined for that table. With my patch he can access a table if he has the
221+
* permission for ONE of the groups, which seems to me a more useful thing.
222+
*
223+
* Used in: src/backend/tcop/aclchk.c
224+
* Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
225+
*/
226+
#define ACLGROUP_PATCH
227+
218228

219229
/*
220230
* The following is used as the arg list for signal handlers. Any ports

0 commit comments

Comments
 (0)