[OPEN-ILS-DEV] User permissions error
Mike Rylander
mrylander at gmail.com
Wed May 28 11:00:53 EDT 2008
On Wed, May 28, 2008 at 10:51 AM, Robert <glibrarysystem at gmail.com> wrote:
> Yeah Mike, I see what you're saying. I did mean to take these out as they
> were put in before I really knew about the structure of the whole system. I
> do have the branches in as the org_unit instead of the org_unit_type. I only
> had a few in the org_unit_type before I realized that I was doing it wrong.
> Thanks for pointing that out to me and reminding me that I need to take
> those out.
>
Ahh... now it all makes sense. :) Just wanted to make sure, and also
for general list education.
--miker
> On Wed, May 28, 2008 at 10:46 AM, Mike Rylander <mrylander at gmail.com> wrote:
>>
>> On Wed, May 28, 2008 at 8:21 AM, Robert <glibrarysystem at gmail.com> wrote:
>> [snip]
>> >
>> > and here is the second:
>> >
>> > evergreen=# select * from actor.org_unit_type;
>> > id | name | opac_label | depth | parent |
>> > can_have_vols | can_have_users
>> >
>> > ----+----------------+---------------------------+-------+--------+---------------+----------------
>> > 1 | Consortium | Everywhere | 0 | | f
>> > | f
>> > 5 | Bookmobile | Your Bookmobile | 3 | 3 | t
>> > | t
>> > 2 | Main System | Greenville Library System | 1 | 1 | t
>> > | t
>> > 3 | Main Branch | Hughes Main | 2 | 2 | t
>> > | t
>> > 4 | Augusta Branch | Augusta Branch | 2 | 2 | t
>> > | t
>> > 7 | Berea Branch | Berea Branch | 2 | 2 | t
>> > | t
>> > 8 | Greer Branch | Greer Branch | 2 | 2 | t
>> > | t
>> > (7 rows)
>> >
>>
>> In addition to the points made by Jason and Dan, (unless I'm
>> misunderstanding completely) you seem to be using the org_unit_type
>> table to name specific branches. org_unit_type entries are for
>> specifying types of nodes ("library", "system", "university",
>> "school", "consortium", etc) instead of specific nodes. Specific
>> nodes are set up completely in the org_unit table. org_unit rows
>> supply the context ("the August branch location") and org_unit_type
>> defines the hierarchical skeleton (branches are attached to, say,
>> universities, which are attached to consortia).
>>
>> --
>> 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
>
>
--
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