The plot thickens was Re: [OPEN-ILS-DEV] Creating Patrons

Grant Johnson fgjohnson at upei.ca
Thu May 22 22:04:29 EDT 2008


Hi Mike,
Thanks for your interest.
I tried selecting Branch, system and consortium couldn't fix the circ user.

It MAY have been resolved though(or Circulators is weird somehow) more tests required.

I created another group called supercirc,
Created a permission for that group called user group.application.staff.supercirc(in the Developers Only section)
Gave supercirc  BOTH group_application.user and group_application.user.patron permissions.
Since the sub-groups didn't have an ApplicationPermission defined things were inherited right?
Applied appropriate rights that stick!
Moved the circ user into that group.
Login as circ and we can now select a patron group to assign to a new user.

Still haven't figured out why the other failed.
Does this all make sense?

>>> "Mike Rylander" <mrylander at gmail.com> 05/22/08 9:44 PM >>>
On Thu, May 22, 2008 at 8:07 PM, Grant Johnson <fgjohnson at upei.ca> wrote:
> I can add the group_application.user.patron to Local.System Administrator but not the circ group I created...
> How come!
>
[snip]
> [Wed May 21 22:14:14 2008] [error] [client 137.149.4.26] Can't update 97: DBD::Pg::st execute failed: ERROR:  null value in column "depth" violates not-null constraint, referer: http://osls.cs.upei.ca/cgi-bin/usr_group-setup.cgi?action=child&id=5
[snip]

Are you selecting a depth from the Depth dropdown next to Apply checkbox?

-- 
Mike Rylander
 | VP, Research and Design
 | Equinox Software, Inc. / The Evergreen Experts
 | phone: 1-877-OPEN-ILS (673-6457)
 | email: miker at esilibrary.com
 | web: http://www.esilibrary.com



More information about the Open-ils-dev mailing list