]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Streamline pcrud a bit.
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 8 Jul 2010 14:56:37 +0000 (14:56 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 8 Jul 2010 14:56:37 +0000 (14:56 +0000)
commitf7470807bfa88a0f6e02a59ddde2ad1a802a4ff2
treebef2720182c1765f3144668c233b3f0029c30003
parent2f5b448d06ee09e4153a6dcf865a258228171e7b
Streamline pcrud a bit.

If there is a permacrud entry for the relevant action, but the list of
permissions is empty, we grant access.

The change: grant access as soon as the permission list can be known
to be empty, instead of doing a lot of irrelevant stuff first
(including extra database fetches in some cases).

M    Open-ILS/src/c-apps/oils_sql.c

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16880 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/c-apps/oils_sql.c