Re: ACL checks and slapo-unique

2017-11-24 Thread Michael Ströder
Ondřej Kuzník wrote: > On Wed, Nov 15, 2017 at 05:09:31PM +0100, Michael Ströder wrote: >> HI! >> >> What really strikes users is the lack of feedback in case a unique >> constraint or other constraint fails. >> >> Let's look at error messages of slapo-unique first. I'm experimenting >> with a

Re: ACL checks and slapo-unique

2017-11-24 Thread Ondřej Kuzník
On Wed, Nov 15, 2017 at 05:09:31PM +0100, Michael Ströder wrote: > HI! > > What really strikes users is the lack of feedback in case a unique > constraint or other constraint fails. > > Let's look at error messages of slapo-unique first. I'm experimenting > with a pretty simple patch for

ACL checks and slapo-unique

2017-11-15 Thread Michael Ströder
HI! What really strikes users is the lack of feedback in case a unique constraint or other constraint fails. Let's look at error messages of slapo-unique first. I'm experimenting with a pretty simple patch for returning the effective uniqueness filter in the diagnosticMessage. Example output