[OPEN-ILS-DEV] bootstrapping User groups and group permissions

Roberge, Pierre roberge.pierre at uqam.ca
Wed Oct 24 21:59:35 EDT 2007


Hi All,

 

Pierre Nault had already reported a problem that aroused when he registered Outreach and trustee users. Immediately after, the web form 'User Groups and Group Permissions was unavailable. It produces the following garbage:

User Group Hierarchy Setup

________________________________

tree.add(4, 3, "Catalogers", "usr_group-setup.cgi?action=child&id=4", "Catalogers"); tree.add(5, 3, "Circulators", "usr_group-setup.cgi?action=child&id=5", "Circulators"); tree.add(10, 3, "Local System Administrator", "usr_group-setup.cgi?action=child&id=10", "System maintenance, configuration, etc."); tree.add(12, 1, "Outreach", "usr_group-setup.cgi?action=child&id=12", "relicats de Evergreen"); tree.add(2, 1, "Patrons", "usr_group-setup.cgi?action=child&id=2", "Patrons"); tree.add(3, 1, "Staff", "usr_group-setup.cgi?action=child&id=3", "Staff"); tree.add(13, 1, "Trustee", "usr_group-setup.cgi?action=child&id=13", "relicats de Evergreen"); tree.add(1, 2, "Users", "usr_group-setup.cgi?action=child&id=1", "Users"); tree.closeAllChildren(); document.write(tree.toString()); 

 

 

When looking to the underlying table 'permission.grp_tree' we noticed that no application permission have been registered for the 'Outreach' user. It seems to be the only user in that case. Is it possible that the problem with the web form could be related to the absence of information in this field? Could we fix it by directly inserting information in the table with an update SQL clause?

 

Here's the permission.grp_tree table:

 

3          Staff     1          False    3 years             group_application.user.staff

4          Catalogers        3          True      3 years             group_application.user.staff.cat

12        Outreach          1          True      3 years relicats de Evergreen     

13        Trustee 1          True      3 years relicats de Evergreen     group_application.user

2          Patrons 1          True      3 years             group_application.user.patron

1          Users   2          False    3 years             group_application.user

10        Local System Administrator       3          True      3 years System maintenance, configuration, etc.            group_application.user.staff.admin.local_admin

5          Circulators        3          True      3 years             group_application.user.staff.circ 

 

 

 

Thanks in advance for any help you can provide.

 

_________________________________________________________



 

Pierre Roberge

Directeur des technologies de l'information

Service des bibliothèques

Université du Québec à Montréal

Case postale 8889, succ. Centre-Ville

Montréal, Qc

H3C 3P3

Téléphone: 514-987-3000 #3163

Télécopieur: 514-987-0285

Courriel: roberge.pierre at uqam.ca

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.georgialibraries.org/pipermail/open-ils-dev/attachments/20071024/af9571bd/attachment.html


More information about the Open-ils-dev mailing list