Barry Callahan wrote:
> As I noted earlier, when you do a search in the library, you're always
> presented with an icon to edit the found items, regardless of whether
> you actually have the appropriate permission to edit the item.
>
> Clicking on the edit icon when you don't have permission throws an error
> and results in the user being logged out.
>
> Here's the ID string from the version of the file I've been working
> with. I realize there's a newer release, but I haven't looked at it.
> Has this change been integrated in the newer release?
Thanks for the patch!
I've committed it to the 1.2 branch as well as the main trunk, with the
check_priv modified to check for the EDIT privilege instead of the ADD priv.
This was apparently only a bug in quick search, advanced search included
this check already.
--
Mattias Nordstrom
CTO
Realnode Oy
nordstrom@xxxxxxxxxxxx
www.realnode.com
|