[Koha] Problems when setting permissions to patrons

Katrin Fischer Katrin.Fischer.83 at web.de
Tue Oct 13 08:01:52 NZDT 2015


Hi Marc,

we could check for the existence of the mandatory data maybe, but some
of it might be unselected on purpose by some. For the permission
definitions, maybe we could move them out of the database altogether?
You won't ever want to change them and they are not translatable
currently, although there is a patch waiting to change that:

http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13632

Katrin


Am 12.10.2015 um 10:39 schrieb Marc Véron:
> Hi Katrin,
> 
> What do you think, could'nt we test for critical database tables and warn
> on the About page / System information if they are empty?
> 
> And if yes,  what tables should we test?
> 
> Marc
> 
> 
> 
> Am 11.10.2015 um 11:36 schrieb Katrin Fischer:
>> Hi Igor,
>>
>> ok, that explains the empty screens - the permissions are defined in the
>> database and haven't been installed in your system.
>>
>> One reason how this could happen is that something got unchecked in the
>> mandatory section during running the web installer. Another might be an
>> error in the SQL files, but the French web installer should be ok - I think.
>>
>> What you can do is look for the SQL files in installer/data/mysql/...
>> and run them manually. But it might also make sense to reset and run the
>> web installer again to see if it works a second time around and to make
>> sure nothing else is missing.
>>
>> Hope this helps,
>>
>> Katrin
>>
>> Am 10.10.2015 um 17:32 schrieb Igor Milhit:
>>> Hi Katrin,
>>>
>>> Thank you for your answer.
>>>
>>> I check the tables: 'permissions' and 'userflags' are there, but they
>>> are empty, both of them.
>>>
>>> I think I've run the web installer in french.
>>>
>>> Igor
>>>
>>>
>>> Le 10. 10. 15 14:23, Katrin Fischer a écrit :
>>>> Hi Igor,
>>>>
>>>> I wonder if the permissions got correctly installed in your installation
>>>> - could you check if the the database tables permissions and userflags
>>>> do have entries in your installation?
>>>>
>>>> Which language did you run the web installer in?
>>>>
>>>> Hope this helps,
>>>>
>>>> Katrin
>>>>
>>>>
>>>> Am 09.10.2015 um 16:40 schrieb Igor Milhit:
>>>>> Hi everyone,
>>>>>
>>>>> I’m testing Koha locally, on my laptop running Debian Jessie. I followed
>>>>> the installations instructions for Debian on the wiki :
>>>>> http://wiki.koha-community.org/wiki/Debian
>>>>>
>>>>> I’m using the stable release which is the 3.20.04.
>>>>>
>>>>> After logging in with the database user, I created a library, some item
>>>>> types, patrons categories, and patrons. First, I created two of them,
>>>>> both of the staff type. And the I wanted to set permissions to one of
>>>>> them (superlibrarian).
>>>>>
>>>>> But when I’m clicking on the “set permissions” button (or link), I get a
>>>>> page without permissions to set, but a “save” button :
>>>>> http://id-libre.org/cloud/index.php/s/MYZyY6IMUkrjUTr (french interface)
>>>>> http://id-libre.org/cloud/index.php/s/8rutOXX4xArNgH2 (english interface)
>>>>>
>>>>> In the |/var/log/koha/[library]/intranet-error.log| I could read errors
>>>>> like this one : |member-flags.pl: Use of uninitialized value $roadtype
>>>>> in concatenation (.) or string at
>>>>> /usr/share/koha/intranet/cgi-bin/members/member-flags.pl line 176|
>>>>>
>>>>> Searching Google with this information got me this bug :
>>>>> http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14136 I’ve
>>>>> tried the patch,but with no result.
>>>>>
>>>>> Asking for help through IRC, I’ve been advised to set some authorized
>>>>> value to the ROADTYPE category. I did, then edited the patrons with this
>>>>> new value, without succes. Then I tried to create a new user with the
>>>>> minimal informations, as I’ve been advised though IRC, to log out and
>>>>> in, and to set the permissions of this new user, but still, an empty
>>>>> page. Then I tried to delete all my patrons, to log out and in, recreate
>>>>> a very simple staff one, and to set his permissions… with the same empty
>>>>> result.
>>>>>
>>>>> As suggested through IRC, I checked in About Koha > System Information,
>>>>> and found no relevant message there.
>>>>>
>>>>> Any help is welcome !
>>>>>
>>>>> Of course, I’ll give all needed further information…
>>>>>
>>>>> Thanks.
>>>>>
>>>>> Igor Milhit
>>>>>
>>>>>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Koha mailing list  http://koha-community.org
>>>>> Koha at lists.katipo.co.nz
>>>>> https://lists.katipo.co.nz/mailman/listinfo/koha
>>>>>
>>>> _______________________________________________
>>>> Koha mailing list  http://koha-community.org
>>>> Koha at lists.katipo.co.nz
>>>> https://lists.katipo.co.nz/mailman/listinfo/koha
>> _______________________________________________
>> Koha mailing list  http://koha-community.org
>> Koha at lists.katipo.co.nz
>> https://lists.katipo.co.nz/mailman/listinfo/koha
> 
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha
> 



More information about the Koha mailing list