mirror of
https://github.com/postgres/postgres.git
synced 2025-08-09 17:03:00 +03:00
Document and enable ACLGROUP_PATCH submitted by Massimo
This commit is contained in:
@@ -215,6 +215,16 @@ typedef unsigned char slock_t;
|
|||||||
# define NEED_STRDUP
|
# define NEED_STRDUP
|
||||||
#endif
|
#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
|
* The following is used as the arg list for signal handlers. Any ports
|
||||||
|
Reference in New Issue
Block a user